From fb523289f682414e8bc391d3f07c7ef68817d794 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Wed, 20 Mar 2024 15:18:10 +0800 Subject: [PATCH] Auto-add labels for filtering in Linear --- .github/labeler.yml | 4 ++++ .github/workflows/labeler.yml | 18 ++++++++++++++++++ 2 files changed, 22 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 000000000..cc56e0fff --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +team/graph: + - '/.*/' +graph/scip-ruby: + - '/.*/' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..c2f027b1b --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,18 @@ +name: "Issue Labeler" +on: + issues: + types: [opened, edited] + +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 }}