Skip to content

Commit 8eb354d

Browse files
authored
Modify permission for release job (#1209)
Fix #1202 When using a reusable workflow, it seems that the caller must define all necessary permissions for the callee. (This is the same for secrets as well.) reference: https://docs.github.com/en/actions/sharing-automations/reusing-workflows#supported-keywords-for-jobs-that-call-a-reusable-workflow failed job: https://github.com/line/line-bot-sdk-nodejs/actions/runs/14100786655
1 parent 8f792d2 commit 8eb354d

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,4 +58,9 @@ jobs:
5858
5959
deploy-docs:
6060
needs: [release-package]
61+
permissions:
62+
contents: read
63+
pages: write
64+
issues: write
65+
id-token: write
6166
uses: ./.github/workflows/deploy-doc.yml

0 commit comments

Comments
 (0)