Skip to content

Commit

Permalink
Fix PR and issue labeler job permissions (#14134)
Browse files Browse the repository at this point in the history
  • Loading branch information
john-westcott-iv authored Jun 15, 2023
1 parent 9676a95 commit ba99ddf
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 ba99ddf

Please sign in to comment.