Use RELEASE_PAT for GitHub token in release workflow
This commit is contained in:
1 file changed
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user