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:
parent
cf862d65df
commit
d4503d0ea7
1 changed files with 4 additions and 0 deletions
4
.github/workflows/triage-pull-requests.yml
vendored
4
.github/workflows/triage-pull-requests.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue