Skip to content

Commit 2b179f7

Browse files
authored
chore(ci): fix docs workflow permissions (#2000)
* chore(ci): fix docs workflow permissions * chore(ci): fix docs workflow permissions
1 parent 49c5f48 commit 2b179f7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.github/workflows/on_doc_merge.yml

+1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ jobs:
1515
release-docs:
1616
permissions:
1717
id-token: write # trade JWT token for AWS credentials in AWS Docs account
18+
contents: read # read from this repo to publish docs
1819
secrets: inherit
1920
uses: ./.github/workflows/reusable_publish_docs.yml
2021
with:

.github/workflows/rebuild_latest_docs.yml

+1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
release-docs:
3030
permissions:
3131
id-token: write # trade JWT token for AWS credentials in AWS Docs account
32+
contents: read # read from this repo to publish docs
3233
secrets: inherit
3334
uses: ./.github/workflows/reusable_publish_docs.yml
3435
with:

0 commit comments

Comments
 (0)