From 29b8a4a29c65f123d95d2e71a8747b752b52010d Mon Sep 17 00:00:00 2001 From: Eric T Date: Wed, 20 Aug 2025 19:05:40 +0100 Subject: [PATCH] chore: add issue labeler workflow --- .github/labeler.yml | 6 ++++++ .github/workflows/issue-labeler.yml | 19 +++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/issue-labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..4109c75 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,6 @@ +bug: + - '(?i)\bbug\b' +feature: + - '(?i)\bfeature\b' +question: + - '(?i)\bquestion\b' diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/issue-labeler.yml new file mode 100644 index 0000000..bf5be69 --- /dev/null +++ b/.github/workflows/issue-labeler.yml @@ -0,0 +1,19 @@ +name: Issue Labeler + +on: + issues: + types: [opened] + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3 + with: + configuration-path: .github/labeler.yml + include-title: 1 + repo-token: ${{ github.token }}