Skip to content

Commit 628c3e7

Browse files
committed
ci(release): Use PAT for pushing to master
1 parent 742e5f4 commit 628c3e7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
1919
with:
20+
token: ${{ secrets.TOOLS_UPLOAD_PAT }}
2021
ref: ${{ github.event.release.target_commitish }}
2122
fetch-depth: 0
2223

@@ -33,5 +34,5 @@ jobs:
3334

3435
- name: Build Release
3536
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
37+
GITHUB_TOKEN: ${{ secrets.TOOLS_UPLOAD_PAT }}
3738
run: bash ./.github/scripts/on-release.sh

0 commit comments

Comments
 (0)