Skip to content

Commit 8d04eee

Browse files
committed
fix: ci permissions block for release-please
Signed-off-by: Arjun Raja Yogidas <arjunry@amazon.com>
1 parent 358e64a commit 8d04eee

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/release-please.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
name: release-please
77

88
permissions:
9-
contents: read
9+
contents: write
1010
pull-requests: write
1111

1212
jobs:
@@ -25,4 +25,7 @@ jobs:
2525
name: Trigger release-automation.yaml if PR is merged
2626
needs: [release-please]
2727
if: ${{ needs.release-please.outputs.release_created == 'true' }}
28+
permissions:
29+
contents: write # Required for uploading release assets
30+
id-token: write # Required for AWS OIDC authentication
2831
uses: ./.github/workflows/release-automation.yaml

0 commit comments

Comments
 (0)