Skip to content

Commit 8b380bd

Browse files
authored
ci: specify permissions for generated app token (#85)
1 parent c9ac063 commit 8b380bd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release-please.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ jobs:
2222
with:
2323
app-id: ${{ vars.JPREPROCESS_RELEASE_APP_ID}}
2424
private-key: ${{ secrets.JPREPROCESS_RELEASE_APP_KEY }}
25+
# Limit token permissions to only what's needed for release-please
26+
permission-contents: write
27+
permission-pull-requests: write
2528
- uses: googleapis/release-please-action@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b # v4.1.0
2629
id: release
2730
with:

0 commit comments

Comments
 (0)