Skip to content

Commit 2f8fa15

Browse files
committed
ci(publish): grant write permissions to changesets job
GITHUB_TOKEN defaulted to read-only, so the changeset-release branch push hit a 403. Grant contents + pull-requests write.
1 parent c725aa2 commit 2f8fa15

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
99
jobs:
1010
publish:
1111
runs-on: ubuntu-latest
12+
permissions:
13+
contents: write # push the changeset-release branch + create release tags
14+
pull-requests: write # open the "Version Packages" PR
1215
steps:
1316
- uses: actions/checkout@v4
1417
- uses: pnpm/action-setup@v3

0 commit comments

Comments
 (0)