Skip to content

Commit 6198ee9

Browse files
committed
chore(release): update GitHub Actions workflow to use CHANGESETS_TOKEN for authentication
1 parent 003353e commit 6198ee9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ jobs:
1212
pull-requests: write
1313
steps:
1414
- uses: actions/checkout@v4
15-
with: { fetch-depth: 0 }
15+
with:
16+
fetch-depth: 0
17+
token: ${{ secrets.CHANGESETS_TOKEN }}
1618

1719
- uses: pnpm/action-setup@v4
1820
with: { version: 10 }
@@ -31,5 +33,5 @@ jobs:
3133
publish: pnpm -w changeset publish
3234
createGithubReleases: true
3335
env:
34-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }}
3537
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)