Skip to content

Commit

Permalink
Add check for PGP signed tags to release workflow
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Prodan <[email protected]>
  • Loading branch information
stefanprodan committed Jun 30, 2023
1 parent 7c3a1cd commit cd31740
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@ jobs:
- name: Verify signed release
if: startsWith(github.ref, 'refs/tags/v')
run: |
git -P show ${{ github.event.inputs.tag }} | grep -q 'PGP SIGNATURE' || \
{ echo "No PGP signature found for tag ${{ github.event.inputs.tag }}. Aborting release process..."; exit 1; }
git -P show ${GITHUB_REF_NAME} | grep -q 'PGP SIGNATURE' || \
{ echo "No PGP signature found for tag $GITHUB_REF_NAME}. Aborting release process..."; exit 1; }
- name: Prepare
id: prep
run: |
Expand Down

0 comments on commit cd31740

Please sign in to comment.