Skip to content

Commit 9a46adf

Browse files
ci: use GITHUB_TOKEN and persist credentials in release workflow (#41)
* Initial plan * ci: use GITHUB_TOKEN and persist credentials in release workflow Co-authored-by: nickytonline <833231+nickytonline@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: nickytonline <833231+nickytonline@users.noreply.github.com>
1 parent e418c14 commit 9a46adf

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)