Skip to content

Commit 63846ad

Browse files
beeme1mraskpt
andauthored
chore: update release please repo, specify action permissions (#369)
Signed-off-by: Michael Beemer <[email protected]> Co-authored-by: André Silva <[email protected]>
1 parent c69a6e5 commit 63846ad

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/release.yml

+9-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,18 @@ on:
55
branches:
66
- main
77

8+
permissions:
9+
contents: read
10+
811
jobs:
912
release-please:
13+
permissions:
14+
contents: write # for googleapis/release-please-action to create release commit
15+
pull-requests: write # for googleapis/release-please-action to create release PR
1016
runs-on: ubuntu-latest
1117

1218
steps:
13-
- uses: google-github-actions/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
19+
- uses: googleapis/release-please-action@db8f2c60ee802b3748b512940dde88eabd7b7e01 # v3
1420
id: release
1521
with:
1622
command: manifest
@@ -52,6 +58,8 @@ jobs:
5258

5359
sbom:
5460
runs-on: ubuntu-latest
61+
permissions:
62+
contents: write # upload sbom to a release
5563
needs: release-please
5664
continue-on-error: true
5765
if: ${{ needs.release-please.outputs.release_created }}

0 commit comments

Comments
 (0)