chore(issues): Add auto status:needs-triage labeling workflow (#27138)

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 <work@onurozkan.dev>
This commit is contained in:
Onur Özkan
2026-04-23 21:49:38 +03:00
committed by GitHub
parent a779925618
commit 4760327fa8
+24
View File
@@ -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'],
});