Skip to content

Commit cd31740

Browse files
committed
Add check for PGP signed tags to release workflow
Signed-off-by: Stefan Prodan <[email protected]>
1 parent 7c3a1cd commit cd31740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ jobs:
3636
- name: Verify signed release
3737
if: startsWith(github.ref, 'refs/tags/v')
3838
run: |
39-
git -P show ${{ github.event.inputs.tag }} | grep -q 'PGP SIGNATURE' || \
40-
{ echo "No PGP signature found for tag ${{ github.event.inputs.tag }}. Aborting release process..."; exit 1; }
39+
git -P show ${GITHUB_REF_NAME} | grep -q 'PGP SIGNATURE' || \
40+
{ echo "No PGP signature found for tag $GITHUB_REF_NAME}. Aborting release process..."; exit 1; }
4141
- name: Prepare
4242
id: prep
4343
run: |

0 commit comments

Comments
 (0)