From 93975ed98266be67475a0d14bf9501d89cd9134d Mon Sep 17 00:00:00 2001 From: IWANABETHATGUY Date: Tue, 28 Mar 2023 21:28:51 +0800 Subject: [PATCH] ci: issue-labeler add triage (#2488) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: 🤖 ci: issue-labeler --- .github/issue-labeler.yml | 3 +++ .github/workflows/issue-label.yml | 14 ++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 .github/issue-labeler.yml create mode 100644 .github/workflows/issue-label.yml diff --git a/.github/issue-labeler.yml b/.github/issue-labeler.yml new file mode 100644 index 00000000000..738a8b86664 --- /dev/null +++ b/.github/issue-labeler.yml @@ -0,0 +1,3 @@ +needs-triage: + # any new issue will be marked as need-triage + - ".*" diff --git a/.github/workflows/issue-label.yml b/.github/workflows/issue-label.yml new file mode 100644 index 00000000000..886b5e2f037 --- /dev/null +++ b/.github/workflows/issue-label.yml @@ -0,0 +1,14 @@ +name: "Issue Labeler" +on: + issues: + types: [opened] + +jobs: + triage: + runs-on: ubuntu-latest + steps: + - uses: github/issue-labeler@v2.5 #May not be the latest version + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: .github/issue-labeler.yml + enable-versioned-regex: 0