Skip to content

Commit 1d00c1f

Browse files
committed
use PAT for changesets
1 parent b8b588e commit 1d00c1f

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/changesets.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
23+
with:
24+
token: ${{ secrets.CHANGESETS_TOKEN }}
2325

2426
- name: Setup pnpm
2527
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v5
@@ -41,7 +43,7 @@ jobs:
4143
title: 'Next Release: changelog and version packages'
4244
commit: 'chore: version packages'
4345
env:
44-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46+
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }}
4547

4648
- name: Trigger publish workflow
4749
if: steps.changesets.outputs.hasChangesets == 'false'

0 commit comments

Comments
 (0)