diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml new file mode 100644 index 0000000..1e3a136 --- /dev/null +++ b/.github/issue-labeler.yml @@ -0,0 +1,2 @@ +allowlist: + - '/allow-?list/i' diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml new file mode 100644 index 0000000..aaaecf4 --- /dev/null +++ b/.github/workflows/issue-labeler.yml @@ -0,0 +1,19 @@ +name: "Issue Labeler" +on: # yamllint disable-line rule:truthy + pull_request_target: + types: [opened, edited] + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@ccca1e16fcb66762200e616fc29b57b940c1cb67 # v3.5 + with: + configuration-path: .github/issue-labeler.yml + enable-versioned-regex: 0 + repo-token: ${{ github.token }} + include-title: 1