Fix help-wanted label name mismatch in PR triage workflow

The shared triage-pr-requirements workflow defaults help_wanted_label to
'help-wanted' (hyphenated), but the actual repo label is 'help wanted'
(with a space). This caused grep -qx exact matching to always fail,
incorrectly flagging every external PR as not meeting requirements.

Pass the correct label name explicitly to both check-requirements and
close-unmet-requirements jobs.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Kynan Ware 2026-02-28 12:05:45 -07:00
parent cf862d65df
commit d4503d0ea7

View file

@ -31,6 +31,8 @@ jobs:
github.event_name == 'pull_request_target' &&
(github.event.action == 'opened' || github.event.action == 'reopened' || github.event.action == 'edited')
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-pr-requirements.yml@main
with:
help_wanted_label: 'help wanted'
permissions:
issues: read
pull-requests: write
@ -38,6 +40,8 @@ jobs:
close-unmet-requirements:
if: github.event_name == 'schedule'
uses: desktop/gh-cli-and-desktop-shared-workflows/.github/workflows/triage-pr-requirements.yml@main
with:
help_wanted_label: 'help wanted'
permissions:
issues: read
pull-requests: write