From 2e3c7f872c00b2db9ba547030ee46e58fdd354d8 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Wed, 25 Nov 2026 04:10:58 -0500 Subject: [PATCH] Delete label-new-prs.yaml workflow (#1289) (#1292) (cherry picked from commit 44c9359c5cbfcb9caec326882939eb803f55d170) Co-authored-by: Bianca Henderson --- .github/workflows/label-new-prs.yaml | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 .github/workflows/label-new-prs.yaml diff --git a/.github/workflows/label-new-prs.yaml b/.github/workflows/label-new-prs.yaml deleted file mode 100644 index ddacc380..00000000 --- a/.github/workflows/label-new-prs.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -name: label new prs -on: - pull_request_target: - types: - - opened - - reopened - - converted_to_draft - - ready_for_review - -jobs: - add_label: - if: github.actor != 'patchback[bot]' - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - name: Add 'needs_triage' label if the pr is not a draft - uses: actions-ecosystem/action-add-labels@v1 - if: github.event.pull_request.draft == false - with: - labels: needs_triage - - - name: Remove 'needs_triage' label if the pr is a draft - uses: actions-ecosystem/action-remove-labels@v1 - if: github.event.pull_request.draft == true - with: - labels: needs_triage