From 81e6f866bb0c393e43f422e65d57678d40bcceb4 Mon Sep 17 00:00:00 2001 From: Emily Zhao Date: Tue, 18 Jun 2024 10:07:28 -0700 Subject: [PATCH] Create triagelabel.yml --- .github/workflows/triagelabel.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/triagelabel.yml diff --git a/.github/workflows/triagelabel.yml b/.github/workflows/triagelabel.yml new file mode 100644 index 00000000..75456f56 --- /dev/null +++ b/.github/workflows/triagelabel.yml @@ -0,0 +1,17 @@ +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 "triage" + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GH_REPO: ${{ github.repository }} + NUMBER: ${{ github.event.issue.number }}