Skip to content

Commit 8b3fb9e

Browse files
committed
ci(issue): add permissions
1 parent d60b0d6 commit 8b3fb9e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/issue.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,14 @@ on:
77
jobs:
88
comment:
99
runs-on: ubuntu-latest
10+
11+
permissions:
12+
issues: write
1013

1114
steps:
1215
- uses: actions/github-script@v7
1316
with:
17+
github-token: ${{ secrets.GITHUB_TOKEN }}
1418
script: |
1519
github.rest.issues.createComment({
1620
issue_number: context.issue.number,

0 commit comments

Comments
 (0)