Skip to content

Commit

Permalink
Use the cashapp/check-signature-action
Browse files Browse the repository at this point in the history
Use the cashapp/check0signature-action GitHub Action, instead of running the inline bash script to verify that the release tag was signed.

Signed-off-by: Yoav Amit <yoav@squareup.com>
  • Loading branch information
yoavamit committed Jul 21, 2023
1 parent 9f03bbf commit 02a672d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ jobs:
java-version: 17
- name: Setup gradle
uses: gradle/gradle-build-action@v2
- name: Verify release tag
run: |
set -euxo pipefail
cd ${{ github.workspace }}
git config gpg.ssh.allowedSignersFile ./config/allowed_release_signers
git fetch --tags -f
git tag -v ${{ github.ref_name }}
- name: "Verify release tag"
uses: cashapp/check-signature-action@v0.2.0
id: check-tag-sig
env:
GH_TOKEN: ${{ github.token }}
with:
allowed-release-signers: yoavamit
- name: Build library
uses: gradle/gradle-build-action@v2
with:
Expand Down
1 change: 0 additions & 1 deletion config/allowed_release_signers

This file was deleted.

0 comments on commit 02a672d

Please sign in to comment.