Skip to content

Commit 7646757

Browse files
authored
Merge pull request #35 from coderbirju/test-content-perm
fix: ci permissions block for release-please
2 parents 74119ae + d8d55fc commit 7646757

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/release-automation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
# This is required for configure-aws-credentials to request an OIDC JWT ID token to access AWS resources later on.
6363
# More info: https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings
6464
id-token: write
65-
contents: read # this is required for actions/checkout
65+
contents: write # this is required for actions/checkout
6666
secrets: inherit
6767
with:
6868
ref_name: ${{ needs.get-latest-tag.outputs.tag }}

.github/workflows/release-please.yaml

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

88
permissions:
9-
contents: write
9+
contents: write # Required for trigger-release-automation job
1010
pull-requests: write
1111

1212
jobs:

0 commit comments

Comments
 (0)