fix(github): do not sync 'help wanted' label to PRs

The 'help wanted' label should remain on issues to indicate they are open for contribution, but should not be propagated to pull requests created to address those issues.
This commit is contained in:
Spencer Tang
2026-04-30 17:50:59 -04:00
parent 80e3bb9689
commit b18e4ae837
+2 -1
View File
@@ -40,7 +40,8 @@ get_issue_labels() {
fi
local labels
labels=$(echo "${gh_output}" | grep -x -E '(area|priority)/.*|help wanted|🔒 maintainer only' | tr '\n' ',' | sed 's/,$//' || echo "")
# Note: 'help wanted' is intentionally omitted here so it does not propagate from issues to PRs.
labels=$(echo "${gh_output}" | grep -x -E '(area|priority)/.*|🔒 maintainer only' | tr '\n' ',' | sed 's/,$//' || echo "")
# Save to flat cache
ISSUE_LABELS_CACHE_FLAT="${ISSUE_LABELS_CACHE_FLAT}${ISSUE_NUM}:${labels}|"