Skip to content

Commit 7521b36

Browse files
committed
fix: Cannot fetch both
See [actions/checkout#1467](actions/checkout#1467)
1 parent 23b3adf commit 7521b36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: .github/workflows/sync-example.yml

+3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- "v*"
7+
workflow_dispatch:
78

89
jobs:
910
sync-example:
@@ -21,6 +22,8 @@ jobs:
2122
fetch-depth: 1
2223
fetch-tags: true
2324
path: rust-template
25+
# https://github.com/actions/checkout/issues/1467
26+
ref: ${{ github.ref }}
2427

2528
- name: Checkout example repository
2629
uses: actions/checkout@v4

0 commit comments

Comments
 (0)