Skip to content

Commit b35b87b

Browse files
committed
fix(ci): use release PAT for semantic-release pushes
1 parent e13ee97 commit b35b87b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release-prepare.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/checkout@v4
2222
with:
2323
fetch-depth: 0
24+
token: ${{ secrets.RELEASE_PAT }}
2425

2526
- name: Setup Node
2627
uses: actions/setup-node@v4
@@ -37,5 +38,5 @@ jobs:
3738

3839
- name: Run semantic-release
3940
env:
40-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
41+
GITHUB_TOKEN: ${{ secrets.RELEASE_PAT }}
4142
run: bunx semantic-release

0 commit comments

Comments
 (0)