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
{{ message }}
Repository navigation
Remove git fetch */origin when fixed upstream #225
TL;DR: we should not remove the git fetch ... refs/remotes/origin/* workaround yet, because the upstream bug is still open (github/gh-aw#16925); keep this issue as a tracker and remove it right after upgrading to a gh-aw version that contains the fix.
Recommendation
Keep the current workaround in place for now, and gate removal on two conditions: (1) upstream issue github/gh-aw#16925 is closed with a released fix, and (2) this repo upgrades GH_AW_VERSION to that release and validates PR assistant push behavior.
Findings
The workaround is currently active in the reusable workflow shim:
.github/workflows/gh-aw-mention-in-pr.md:68-76 (Ensure origin refs for PR patch generation with git fetch --no-tags --prune origin '+refs/heads/*:refs/remotes/origin/*').
It is compiled into the lock workflow used by consumers:
Activity
github-actions commentedon Feb 20, 2026
TL;DR: we should not remove the
git fetch ... refs/remotes/origin/*workaround yet, because the upstream bug is still open (github/gh-aw#16925); keep this issue as a tracker and remove it right after upgrading to agh-awversion that contains the fix.Recommendation
Keep the current workaround in place for now, and gate removal on two conditions: (1) upstream issue
github/gh-aw#16925is closed with a released fix, and (2) this repo upgradesGH_AW_VERSIONto that release and validates PR assistant push behavior.Findings
.github/workflows/gh-aw-mention-in-pr.md:68-76(Ensure origin refs for PR patch generationwithgit fetch --no-tags --prune origin '+refs/heads/*:refs/remotes/origin/*')..github/workflows/gh-aw-mention-in-pr.lock.yml:666-667.#220as a fix path for issue#206.github/gh-aw#16925state isopen.gh-awversion pin in this repo is:Makefile:4(GH_AW_VERSION := v0.45.1), compiled viaMakefile:126-128.Verification
I verified current behavior and repo health with existing commands:
And confirmed the workaround locations:
Detailed Action Plan
github/gh-aw#16925and wait for closure + release notes indicating thepush_to_pull_request_branchpatch generation fix.Makefile:4(GH_AW_VERSION) to the fixed upstream version..github/workflows/gh-aw-mention-in-pr.md:68-76.make compilemake lint-workflows(ormake lint)/aiin anissue_comment:Related Items
.github/workflows/gh-aw-mention-in-pr.md:68-76.github/workflows/gh-aw-mention-in-pr.lock.yml:666-667Makefile:4,126-128gh-awversion pin and compile flowWhat is this? | From workflow: Issue Triage Agent
Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not. for issue #225