ci: anchor regexp for help wanted label

Signed-off-by: Babak K. Shandiz <babakks@github.com>
This commit is contained in:
Babak K. Shandiz 2025-07-31 15:29:54 +01:00
parent 3d5675f5f7
commit f1996cd571
No known key found for this signature in database
GPG key ID: 9472CAEFF56C742E

View file

@ -56,7 +56,7 @@ for issue_num in $CLOSING_ISSUES; do
fi
# Check if 'help wanted' label exists
if ! echo "$LABELS" | grep -q "help wanted"; then
if ! echo "$LABELS" | grep -qE '^help wanted$'; then
ISSUES_WITHOUT_HELP_WANTED+=("$issue_num")
echo "Issue #$issue_num does not have 'help wanted' label"
else