Skip to content

Commit

Permalink
Set multi-labeler permissions explicitly
Browse files Browse the repository at this point in the history
  • Loading branch information
yermulnik committed Jul 8, 2024
1 parent 8e42de7 commit 9cfd81d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/multi-labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ on:
types: [opened, edited, synchronize, ready_for_review]
branches: [master, main]

permissions:
# Setting up permissions in the workflow to limit the scope of what it can do. Optional!
contents: read # the config file
issues: write # for labeling issues (on: issues)
pull-requests: write # for labeling pull requests (on: pull_request_target or on: pull_request)
statuses: write # to generate status
checks: write # to generate status

jobs:
labeler:
name: Multi Labeler
Expand Down

0 comments on commit 9cfd81d

Please sign in to comment.