Skip to content

Commit 07b868a

Browse files
ci: fix permissions for release comments (#5318)
1 parent c3dabb8 commit 07b868a

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.github/workflows/release-comments.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
env:
3030
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
3131
with:
32+
github-token: ${{ secrets.ACCESS_TOKEN }}
3233
script: |
3334
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
3435

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
permissions:
3030
contents: write
3131
id-token: write
32+
issues: write
3233
steps:
3334
- uses: actions/checkout@v4
3435
with:
@@ -68,6 +69,7 @@ jobs:
6869
env:
6970
GH_TOKEN: ${{ secrets.ACCESS_TOKEN }}
7071
with:
72+
github-token: ${{ secrets.ACCESS_TOKEN }}
7173
script: |
7274
const { default: addIssueComments } = await import('${{ github.workspace }}/.github/createIssueCommentsForRelease.mjs');
7375

0 commit comments

Comments
 (0)