From 3eede3c9228e3b091b7ad6aec8cd3dfd47efb8f5 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Sun, 30 Jan 2022 13:59:22 -0500 Subject: [PATCH 1/2] Adding triage label to any new issue --- .github/issue_labeler.yml | 2 ++ .github/workflows/triage_new.yml | 21 +++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .github/issue_labeler.yml create mode 100644 .github/workflows/triage_new.yml diff --git a/.github/issue_labeler.yml b/.github/issue_labeler.yml new file mode 100644 index 00000000..0821bc8f --- /dev/null +++ b/.github/issue_labeler.yml @@ -0,0 +1,2 @@ +needs_triage: + - '.*' diff --git a/.github/workflows/triage_new.yml b/.github/workflows/triage_new.yml new file mode 100644 index 00000000..f032d193 --- /dev/null +++ b/.github/workflows/triage_new.yml @@ -0,0 +1,21 @@ +name: Triage + +on: + issues: + types: + - opened + +jobs: + triage: + runs-on: ubuntu-latest + name: Label + + steps: + - name: Label issues + uses: github/issue-labeler@v2.4.1 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + not-before: 2021-12-07T07:00:00Z + configuration-path: .github/issue_labeler.yml + enable-versioned-regex: 0 + if: github.event_name == 'issues' From 1320c9d175ad3ffd866751bc35ffa5299e315a31 Mon Sep 17 00:00:00 2001 From: John Westcott IV Date: Mon, 31 Jan 2022 12:19:31 -0500 Subject: [PATCH 2/2] Fixing linting issues --- .github/issue_labeler.yml | 1 + .github/workflows/triage_new.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/issue_labeler.yml b/.github/issue_labeler.yml index 0821bc8f..f499f40a 100644 --- a/.github/issue_labeler.yml +++ b/.github/issue_labeler.yml @@ -1,2 +1,3 @@ +--- needs_triage: - '.*' diff --git a/.github/workflows/triage_new.yml b/.github/workflows/triage_new.yml index f032d193..b54c3c6f 100644 --- a/.github/workflows/triage_new.yml +++ b/.github/workflows/triage_new.yml @@ -1,3 +1,4 @@ +--- name: Triage on: