mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
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:
@@ -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}|"
|
||||
|
||||
Reference in New Issue
Block a user