Skip to content

Commit 84e5c01

Browse files
committed
Grant pull-requests:write to stable publish job
gh pr create uses the GraphQL createPullRequest mutation, which needs pull-requests:write on GITHUB_TOKEN. Without it the workflow fails with 'Resource not accessible by integration'.
1 parent d49d18a commit 84e5c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci-stable.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
runs-on: ubuntu-latest
6666
permissions:
6767
contents: write
68+
pull-requests: write
6869
steps:
6970
- uses: actions/checkout@v4
7071
with:

0 commit comments

Comments
 (0)