Skip to content

Commit c22e90b

Browse files
committed
fix: add permissions for release-please job
The release-please job needs contents:write and pull-requests:write to create/update its release PR git tree via the GitHub API. Made-with: Cursor
1 parent 35e1137 commit c22e90b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ jobs:
1010
release-please:
1111
runs-on: ubuntu-latest
1212
if: github.event_name == 'push'
13+
permissions:
14+
contents: write
15+
pull-requests: write
1316
outputs:
1417
release_created: ${{ steps.release.outputs.release_created }}
1518
tag_name: ${{ steps.release.outputs.tag_name }}

0 commit comments

Comments
 (0)