Change workflow dispatch permissions (#11812)
It seems that content: write is needed so that external contributors can dispatch workflows
This commit is contained in:
3
.github/workflows/preview-env-dispatch.yaml
vendored
3
.github/workflows/preview-env-dispatch.yaml
vendored
@ -12,8 +12,9 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
contents: write
|
||||
actions: write
|
||||
pull-requests: read
|
||||
|
||||
jobs:
|
||||
changed-files-check:
|
||||
|
||||
Reference in New Issue
Block a user