Skip to content

Commit

Permalink
chore(ci): adjust token permission (#5867)
Browse files Browse the repository at this point in the history
* Adding pages permission

* Adding pages permission
  • Loading branch information
leandrodamascena authored Jan 14, 2025
1 parent a583265 commit 3e55556
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish_v3_layer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ jobs:
needs: [update_v3_layer_arn_docs, prepare_docs_alias]
permissions:
# lower privilege propagated from parent workflow (release.yml)
contents: read
contents: write
pages: write
pull-requests: none
id-token: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable_publish_docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
environment: "Docs"
permissions:
contents: read # push to gh-pages
contents: write # push to gh-pages
id-token: write # trade JWT token for AWS credentials in AWS Docs account
pages: write # uncomment if mike fails as we migrated to S3 hosting
steps:
Expand Down

0 comments on commit 3e55556

Please sign in to comment.