From b85247a3b894c87bda3afc6fefb7d95624e71d5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=82CHES?= Date: Mon, 9 Feb 2026 12:43:24 -0600 Subject: [PATCH] Add workflow to auto-label new issues with needs-triage --- .github/workflows/auto-label-issues.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/auto-label-issues.yml diff --git a/.github/workflows/auto-label-issues.yml b/.github/workflows/auto-label-issues.yml new file mode 100644 index 000000000..59bd3b403 --- /dev/null +++ b/.github/workflows/auto-label-issues.yml @@ -0,0 +1,21 @@ +name: Auto-label new issues + +on: + issues: + types: [opened] + +jobs: + add-triage-label: + runs-on: ubuntu-latest + permissions: + issues: write + steps: + - uses: actions/github-script@v7 + with: + script: | + await github.rest.issues.addLabels({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: context.issue.number, + labels: ["needs-triage"] + })