saysamit opened a new pull request, #8826: URL: https://github.com/apache/incubator-devlake/pull/8826
### 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 - GitHub documents supported API versions here: https://docs.github.com/en/rest/copilot/copilot-usage-metrics?apiVersion=2026-03-10 - A regression test (`TestGitHubApiVersionHeaderValue`) is added to catch unintentional future version changes. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
