gemini-cli - ✅(Solved) Fix Stop syncing 'help wanted' label to PRs [1 pull requests, 1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
google-gemini/gemini-cli#26297Fetched 2026-05-01 05:52:43
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Participants
Timeline (top)
labeled ×2cross-referenced ×1

Fix Action

Fixed

PR fix notes

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

Description (problem / solution / changelog)

Summary

Removes help wanted from the allowed labels being synced from issues to pull requests.

Details

The .github/scripts/pr-triage.sh script previously matched help wanted in its label allowlist, which caused the bot to propagate the label from an issue onto a linked PR. This update removes help wanted from the regex and adds an explanatory comment so it will no longer be synced.

Related Issues

Fixes #26297

How to Validate

  • Review .github/scripts/pr-triage.sh and confirm help wanted is removed from the grep regex in get_issue_labels().
  • The script passes bash -n validation.

Pre-Merge Checklist

  • Updated relevant documentation and README (if needed)
  • Added/updated tests (if needed)
  • Noted breaking changes (if any)
  • Validated on required platforms/methods:
    • MacOS
      • npm run
      • npx
      • Docker
      • Podman
      • Seatbelt
    • Windows
      • npm run
      • npx
      • Docker
    • Linux
      • npm run
      • npx
      • Docker

Changed files

  • .github/scripts/pr-triage.sh (modified, +2/-1)
RAW_BUFFERClick to expand / collapse

What happened?

The .github/scripts/pr-triage.sh script syncs certain labels from linked issues to their corresponding pull requests. The label allowlist used the regex (area|priority)/.*|help wanted|🔒 maintainer only. This causes the bot to propagate the help wanted label from issues onto PRs, which is not desired, as PRs are the implementation that address the issue.

What did you expect to happen?

The help wanted label should stay on the issue to indicate it is open for contribution but should not be synced to the pull request.

Client information

N/A (GitHub Actions script issue)

Login information

N/A

Anything else we need to know?

A fix involves removing help wanted from the regex allowlist in get_issue_labels() inside .github/scripts/pr-triage.sh.

extent analysis

TL;DR

Modify the regex allowlist in the get_issue_labels() function of .github/scripts/pr-triage.sh to exclude the help wanted label.

Guidance

  • Identify the get_issue_labels() function in .github/scripts/pr-triage.sh and locate the regex allowlist.
  • Update the regex allowlist to exclude the help wanted label, for example, by removing |help wanted from the pattern.
  • Verify the change by testing the script with an issue that has the help wanted label and checking if the label is still propagated to the corresponding pull request.
  • Consider adding a test case to ensure the help wanted label is not synced to pull requests in the future.

Example

# Before
allowlist="^(area|priority)/.*|help wanted|🔒 maintainer only$"

# After
allowlist="^(area|priority)/.*|🔒 maintainer only$"

Notes

This fix assumes that the get_issue_labels() function is the only place where the regex allowlist is defined and used. If the allowlist is defined elsewhere, additional changes may be necessary.

Recommendation

Apply workaround: Modify the regex allowlist as described, because it directly addresses the issue and prevents the unwanted label propagation.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

gemini-cli - ✅(Solved) Fix Stop syncing 'help wanted' label to PRs [1 pull requests, 1 participants]