Draft
Extract shared gh-cli-proxy.md component to deduplicate cli-proxy + gh-proxy pairing#54147
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Contributor
|
Hey
The issue provides a clear migration plan; following steps 1–4 will set this PR up for a smooth review. Looking forward to seeing the implementation!
|
Copilot
AI
changed the title
[WIP] Refactor to extract shared gh-cli-proxy component for workflows
Extract shared gh-cli-proxy.md component to deduplicate cli-proxy + gh-proxy pairing
Aug 20, 2026
Contributor
PR TriageCategory: chore | Risk: medium | Priority: low (score 36/100)
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
135 workflows independently declared
tools.cli-proxy: truealongsidetools.github.mode: gh-proxy, duplicating this pairing across hundreds of lines and risking the two settings drifting apart.Shared component
.github/workflows/shared/gh-cli-proxy.md, bundling both settings:shared/gh.md(which only setsgithub.mode: gh-proxy) so its 15 existing consumers are unaffected.Migration
cli-proxy: true/github.mode: gh-proxypair in 135 workflows with:github:/tools:blocks entirely where they had no other keys left after extraction; preserved other sibling keys (e.g.toolsets,min-integrity) where present.shared/gh.mdwhile also duplicating the settings inline — these now importshared/gh-cli-proxy.mdinstead.Verification
.lock.ymldiffs show only manifest/import-list bookkeeping and the new prompt-injection entry for the shared component's body (mirroringshared/gh.md's existing behavior) — no functional changes to generated tool/MCP configuration.