From 9e2c96f86dbaa0dc99d4c37b4449307d4c92e536 Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Wed, 20 Mar 2024 15:19:05 +0800 Subject: [PATCH 1/2] 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 00000000..9cc52ac6 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,4 @@ +team/graph: + - '/.*/' +graph/scip: + - '/.*/' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 00000000..c2f027b1 --- /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 }} From 3da17230eb9fe6fb20d92260960a3f16e58bd9cb Mon Sep 17 00:00:00 2001 From: Varun Gandhi Date: Mon, 25 Mar 2024 11:45:54 +0800 Subject: [PATCH 2/2] Run prettier --- .github/labeler.yml | 4 ++-- .github/workflows/labeler.yml | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 9cc52ac6..57bd1e2f 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,4 +1,4 @@ team/graph: - - '/.*/' + - '/.*/' graph/scip: - - '/.*/' + - '/.*/' diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml index c2f027b1..7d376afd 100644 --- a/.github/workflows/labeler.yml +++ b/.github/workflows/labeler.yml @@ -1,4 +1,4 @@ -name: "Issue Labeler" +name: 'Issue Labeler' on: issues: types: [opened, edited] @@ -11,8 +11,8 @@ 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 }} + - uses: github/issue-labeler@v3.4 + with: + configuration-path: .github/labeler.yml + enable-versioned-regex: 0 + repo-token: ${{ github.token }}