mirror of
https://github.com/actions/github-script.git
synced 2026-02-07 19:47:26 +00:00
docs: Add permission instructions for createComment
This commit is contained in:
parent
660ec11d82
commit
68e1071aa7
1 changed files with 4 additions and 0 deletions
|
|
@ -155,6 +155,10 @@ on:
|
|||
issues:
|
||||
types: [opened]
|
||||
|
||||
# see: https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
|
||||
permissions:
|
||||
pull-requests: 'write'
|
||||
|
||||
jobs:
|
||||
comment:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Reference in a new issue