Skip to content

Fix/gh copilot apiversion#8826

Open
saysamit wants to merge 2 commits intoapache:mainfrom
saysamit:fix/gh-copilot-apiversion
Open

Fix/gh copilot apiversion#8826
saysamit wants to merge 2 commits intoapache:mainfrom
saysamit:fix/gh-copilot-apiversion

Conversation

@saysamit
Copy link
Copy Markdown

@saysamit saysamit commented Apr 8, 2026

Summary

Updates the X-GitHub-Api-Version request header in the gh-copilot plugin from
2022-11-28 to 2026-03-10 to target the latest stable GitHub REST API version.

Also extracts the version string into a named constant (gitHubApiVersion) to avoid
duplication, and aligns connection_test_helper.go which still referenced the old version.

Does this close any open issues?

N/A

Screenshots

N/A

Other Information

@dosubot dosubot bot added size:S This PR changes 10-29 lines, ignoring generated files. component/plugins This issue or PR relates to plugins labels Apr 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/plugins This issue or PR relates to plugins size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant