You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/scripts/check-help-wanted.sh
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ for issue_num in $CLOSING_ISSUES; do
56
56
fi
57
57
58
58
# Check if 'help wanted' label exists
59
-
if!echo"$LABELS"| grep -q "help wanted";then
59
+
if!echo"$LABELS"| grep -qE '^help wanted$';then
60
60
ISSUES_WITHOUT_HELP_WANTED+=("$issue_num")
61
61
echo"Issue #$issue_num does not have 'help wanted' label"
62
62
else
@@ -78,7 +78,7 @@ if [ ${#ISSUES_WITHOUT_HELP_WANTED[@]} -gt 0 ]; then
78
78
gh pr comment "$PR_URL" --body-file - <<EOF
79
79
Thank you for your pull request! 🎉
80
80
81
-
This PR appears to fix the following issues that are not labeled with \`help wanted\`:
81
+
This PR appears to fix the following issues that are not labeled with https://github.com/cli/cli/labels/help%20wanted:
82
82
83
83
$ISSUE_LIST
84
84
As outlined in our [Contributing Guidelines](https://github.com/cli/cli/blob/trunk/.github/CONTRIBUTING.md), we expect that PRs are only created for issues that have been labeled \`help wanted\`.
0 commit comments