Skip to content

Fix help-wanted label name mismatch in PR triage workflow#12809

Closed
BagToad wants to merge 1 commit intotrunkfrom
fix-help-wanted-label-mismatch
Closed

Fix help-wanted label name mismatch in PR triage workflow#12809
BagToad wants to merge 1 commit intotrunkfrom
fix-help-wanted-label-mismatch

Conversation

@BagToad
Copy link
Member

@BagToad BagToad commented Feb 28, 2026

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). The grep -qx exact match never matched, so every external PR was incorrectly flagged as not meeting requirements.

This fix passes the correct label name explicitly to both check-requirements and close-unmet-requirements jobs.

Ref: #12803 (comment)

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>
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the PR triage GitHub Actions workflow to pass the repository’s actual “help wanted” label name (space-separated) into the shared triage-pr-requirements reusable workflow, fixing an exact-match label check that previously never matched.

Changes:

  • Pass help_wanted_label: 'help wanted' to the check-requirements job.
  • Pass help_wanted_label: 'help wanted' to the scheduled close-unmet-requirements job.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@BagToad
Copy link
Member Author

BagToad commented Feb 28, 2026

Actually, I think this should be fixed upstream: desktop/gh-cli-and-desktop-shared-workflows#7

@BagToad BagToad closed this Feb 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants