From 6debb3ef22df3da2cc923baebf94fbc4fe2e3c14 Mon Sep 17 00:00:00 2001 From: Jack Gerrits Date: Wed, 2 Oct 2024 16:26:49 -0400 Subject: [PATCH] Create CI to tag issues with needs triage --- .github/workflows/issue-needs-triage.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/issue-needs-triage.yml diff --git a/.github/workflows/issue-needs-triage.yml b/.github/workflows/issue-needs-triage.yml new file mode 100644 index 000000000000..59cb3479c808 --- /dev/null +++ b/.github/workflows/issue-needs-triage.yml @@ -0,0 +1,18 @@ +name: Label issues with needs-triage +on: + issues: + types: + - reopened + - opened +jobs: + label_issues: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - run: gh issue edit "$NUMBER" --add-label "$LABELS" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }} + LABELS: needs-triage