From ae003ebc47f0e0c1dcf96d78fb3c5ca1ae57bb12 Mon Sep 17 00:00:00 2001 From: William Parr Date: Wed, 7 Aug 2024 17:21:23 +0100 Subject: [PATCH] fix(release): ensure release actor pushes gpg-signed commit (#19) ## Summary The amended commit of a release, containing the gpg verified commit is pushed by github-actions currently. This results in subsequent actions not be triggered. To ensure this works as expected, switching the checkout to use the release actors token to checkout. --- .github/workflows/conventional-commit-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/conventional-commit-release.yaml b/.github/workflows/conventional-commit-release.yaml index edf4ade..7ba7376 100644 --- a/.github/workflows/conventional-commit-release.yaml +++ b/.github/workflows/conventional-commit-release.yaml @@ -244,6 +244,7 @@ jobs: uses: actions/checkout@v4.1.1 with: ref: ${{ fromJson(steps.release.outputs.pr).headBranchName }} + token: ${{ secrets.RELEASE_TOKEN }} fetch-depth: 0 - name: Import GPG key