Skip to content

Commit c7a5420

Browse files
committed
chore: ci: fetch the tag manually
Since actions/checkout is broken (see actions/checkout#290), we need to manually fetch tag objects to check for signatures.
1 parent 5c0f918 commit c7a5420

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/rust.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
- name: ensure tags are signed
3636
run: |
3737
if [[ ${{ github.ref_type }} == tag ]]; then
38+
git fetch -f origin ${{ github.ref }}:${{ github.ref }}
3839
git cat-file tag ${{ github.ref_name }} | grep -q -- '-----BEGIN PGP SIGNATURE-----'
3940
fi
4041
- uses: actions-rust-lang/setup-rust-toolchain@v1

0 commit comments

Comments
 (0)