From f7ba431adcfaa9c99396d0f7f22b72a43d88228c Mon Sep 17 00:00:00 2001 From: Alec Thomas Date: Thu, 8 Feb 2024 09:00:44 +1100 Subject: [PATCH] chore: add triage label to all new tickets (#895) --- .github/workflows/triage.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/workflows/triage.yml diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml new file mode 100644 index 0000000000..d5f99f0150 --- /dev/null +++ b/.github/workflows/triage.yml @@ -0,0 +1,18 @@ +name: Label issues +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: triage