summaryrefslogtreecommitdiff
path: root/.github/workflows/issue-labeler.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/issue-labeler.yml')
-rw-r--r--.github/workflows/issue-labeler.yml8
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml
index ee9785d23..afebc7fca 100644
--- a/.github/workflows/issue-labeler.yml
+++ b/.github/workflows/issue-labeler.yml
@@ -3,11 +3,17 @@ on:
issues:
types: [opened, edited]
+permissions:
+ contents: read
+
jobs:
triage:
+ permissions:
+ contents: read # for github/issue-labeler to get repo contents
+ issues: write # for github/issue-labeler to create or remove labels
runs-on: ubuntu-latest
steps:
- - uses: github/issue-labeler@v2.0
+ - uses: github/issue-labeler@3ae0e4623c1fda729347ae0d8f1c2e52302ef4c6 # v2.0
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/issue-labeler.yml