mirror of
https://github.com/ansible/awx.git
synced 2026-05-14 12:57:40 -02:30
Fix PR and issue labeler job permissions (#14134)
This commit is contained in:
6
.github/workflows/label_issue.yml
vendored
6
.github/workflows/label_issue.yml
vendored
@@ -6,9 +6,9 @@ on:
|
|||||||
- opened
|
- opened
|
||||||
- reopened
|
- reopened
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # to fetch code
|
contents: write # to fetch code
|
||||||
issues: write # to label issues
|
issues: write # to label issues
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
triage:
|
triage:
|
||||||
|
|||||||
2
.github/workflows/label_pr.yml
vendored
2
.github/workflows/label_pr.yml
vendored
@@ -8,7 +8,7 @@ on:
|
|||||||
- synchronize
|
- synchronize
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read # to determine modified files (actions/labeler)
|
contents: write # to determine modified files (actions/labeler)
|
||||||
pull-requests: write # to add labels to PRs (actions/labeler)
|
pull-requests: write # to add labels to PRs (actions/labeler)
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
Reference in New Issue
Block a user