From ab64ce4299d8a9b46962a27724f11ed519a2082f Mon Sep 17 00:00:00 2001 From: Ro Santalla Date: Sun, 23 Jun 2024 12:12:55 +0200 Subject: [PATCH] ci: add rationale for using a PAT --- .github/workflows/create-release.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create-release.yaml b/.github/workflows/create-release.yaml index 5dd1aed..5138493 100644 --- a/.github/workflows/create-release.yaml +++ b/.github/workflows/create-release.yaml @@ -56,6 +56,7 @@ jobs: - name: Commit and tag release if: ${{ steps.empty.outputs.is-empty == 'false' && steps.held.outputs.is-held == 'false' }} env: + # Use a PAT instead of the default token, as the default won't trigger the release workflow on release. GH_TOKEN: ${{ secrets.RELEASE_TOKEN }} run: | git config user.name '${{ env.COMMITTER_NAME }}'