aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/issue-labeler.yml
blob: afebc7fcad82f30296998a115f6c7c18227eb01d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
name: "Issue Labeler"
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@3ae0e4623c1fda729347ae0d8f1c2e52302ef4c6 # v2.0
      with:
        repo-token: "${{ secrets.GITHUB_TOKEN }}"
        configuration-path: .github/issue-labeler.yml
        not-before: 2022-01-27T00:00:00Z
        enable-versioned-regex: 0