ci: default workflow tokens to read-only contents (#1218)
This commit is contained in:
parent
103bf239b3
commit
3501f3e646
1 changed files with 15 additions and 0 deletions
3
.github/workflows/auto-label-pr.yml
vendored
3
.github/workflows/auto-label-pr.yml
vendored
|
|
@ -3,6 +3,9 @@ on:
|
|||
# Runs workflow when activity on a PR in the workflow's repository occurs.
|
||||
pull_request_target:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
auto-label:
|
||||
permissions:
|
||||
|
|
|
|||
Loading…
Reference in a new issue