Skip to content

Commit

Permalink
Fix PR and issue labeler job permissions (ansible#14134)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-westcott-iv authored and djyasin committed Sep 11, 2024
1 parent a51ebb0 commit 3833cbb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/label_issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ on:
- opened
- reopened

permissions:
contents: read # to fetch code
issues: write # to label issues
permissions:
contents: write # to fetch code
issues: write # to label issues

jobs:
triage:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/label_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- synchronize

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)

jobs:
Expand Down

0 comments on commit 3833cbb

Please sign in to comment.