From 8ae0edc2f7b51ec36c02578d7e9adf9f971439a5 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Wed, 20 Mar 2024 15:17:12 +0800 Subject: [PATCH 1/2] Auto-add labels for filtering in Linear --- .github/labeler.yml | 4 ++++ .github/workflows/labeler.yml | 19 +++++++++++++++++++ 2 files changed, 23 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..6bfff8290 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +team/graph: + - '/.*/' +graph/scip-python: + - '/.*/' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 000000000..2d5693dfb --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,19 @@ +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 + not-before: 2020-01-15T02:54:32Z + enable-versioned-regex: 0 + repo-token: ${{ github.token }} From 2499e3948d9f3423e2ee0b334a28b17eee094729 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Wed, 20 Mar 2024 15:22:40 +0800 Subject: [PATCH 2/2] Remove date check --- .github/workflows/labeler.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index 2d5693dfb..c2f027b1b 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -14,6 +14,5 @@ jobs: - uses: github/issue-labeler@v3.4 with: configuration-path: .github/labeler.yml - not-before: 2020-01-15T02:54:32Z enable-versioned-regex: 0 repo-token: ${{ github.token }}