Use RELEASE_PAT for GitHub token in release workflow

This commit is contained in:
7w1 authored and GitHub committed 2026-03-11 22:07:36 -05:00
1 parent 011052214e
commit 6897ce2d49
1 file changed
+2 -1
+2 -1
View File
@@ -18,6 +18,7 @@ jobs:
with:
fetch-depth: 0
persist-credentials: true
token: ${{ secrets.RELEASE_PAT }}
- uses: fregante/setup-git-user@024bc0b8e177d7e77203b48dab6fb45666854b35 # v2.0.2
@@ -29,7 +30,7 @@ jobs:
run: knope prepare-release --verbose
continue-on-error: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
- name: Enrich changelog with PR attribution
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0