Skip to content

Commit

Permalink
Fix the permissions for PRs opened by Changesets CLI (#446)
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot authored Dec 9, 2024
1 parent 64e285e commit 9ab0e9a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:

steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.CHANGESETS_TOKEN }}

- uses: ./.github/actions/setup

- name: Build
Expand All @@ -31,5 +34,5 @@ jobs:
version: yarn run version
publish: yarn run changeset publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit 9ab0e9a

Please sign in to comment.