Skip to content

Commit 44cc94c

Browse files
Copilotnickytonline
andcommitted
ci: use GITHUB_TOKEN and persist credentials in release workflow
Co-authored-by: nickytonline <[email protected]>
1 parent 48830ca commit 44cc94c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ jobs:
1919
uses: actions/checkout@v4
2020
with:
2121
fetch-depth: 0
22-
persist-credentials: false
23-
token: ${{ secrets.RELEASE_TOKEN }}
22+
persist-credentials: true
23+
token: ${{ secrets.GITHUB_TOKEN }}
2424

2525
- name: Setup Node.js
2626
uses: actions/setup-node@v4
@@ -39,5 +39,5 @@ jobs:
3939

4040
- name: Release
4141
env:
42-
GITHUB_TOKEN: ${{ secrets.RELEASE_TOKEN }}
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
run: npx semantic-release

0 commit comments

Comments
 (0)