Skip to content

Commit 3e55556

Browse files
chore(ci): adjust token permission (#5867)
* Adding pages permission * Adding pages permission
1 parent a583265 commit 3e55556

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/publish_v3_layer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ jobs:
303303
needs: [update_v3_layer_arn_docs, prepare_docs_alias]
304304
permissions:
305305
# lower privilege propagated from parent workflow (release.yml)
306-
contents: read
306+
contents: write
307307
pages: write
308308
pull-requests: none
309309
id-token: write

.github/workflows/reusable_publish_docs.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
environment: "Docs"
4242
permissions:
43-
contents: read # push to gh-pages
43+
contents: write # push to gh-pages
4444
id-token: write # trade JWT token for AWS credentials in AWS Docs account
4545
pages: write # uncomment if mike fails as we migrated to S3 hosting
4646
steps:

0 commit comments

Comments
 (0)