From 8fb03b21161cac8f3cffa1fd036093b98dc3f25e Mon Sep 17 00:00:00 2001 From: Michael Simons Date: Thu, 9 Jan 2025 22:32:38 +0000 Subject: [PATCH] Add GitHub issue labeler action --- .github/labeler.yml | 3 +++ .github/workflows/labeler.yml | 18 ++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..ecfff661db --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,3 @@ +# Add 'untriaged' label to any issue that gets opened +untriaged: +- '/.*/' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..4198a6044f --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,18 @@ +name: "Issue Labeler" +on: + issues: + types: [opened] + +permissions: + issues: write + contents: read + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v3.4 + with: + configuration-path: .github/labeler.yml + enable-versioned-regex: 0 + repo-token: ${{ github.token }}