From 4760327fa82ce2c60d64b7d8e5efc54c5be9c617 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Onur=20=C3=96zkan?= Date: Thu, 23 Apr 2026 21:49:38 +0300 Subject: [PATCH] chore(issues): Add auto status:needs-triage labeling workflow (#27138) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds a gha workflow that applies the `status:needs-triage` label to every newly opened issue. This gives maintainers a clear queue of unreviewed issues and lets them remove the label once the issue has been triaged and more specific labels have been assigned. Signed-off-by: Onur Özkan --- .github/workflows/issue_triage_label.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/issue_triage_label.yml diff --git a/.github/workflows/issue_triage_label.yml b/.github/workflows/issue_triage_label.yml new file mode 100644 index 00000000000..def41e02674 --- /dev/null +++ b/.github/workflows/issue_triage_label.yml @@ -0,0 +1,24 @@ +name: Issue Triage Label + +on: + issues: + types: [opened] + +permissions: + issues: write + +jobs: + add-triage-label: + runs-on: ubuntu-latest + + steps: + - name: Add status:needs-triage label to new issues + uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.payload.issue.number, + labels: ['status:needs-triage'], + });