We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3521604 + 4681b40 commit 9e82fc2Copy full SHA for 9e82fc2
1 file changed
pkg/cmd/agent-task/capi/client.go
@@ -62,6 +62,9 @@ func (ct *capiTransport) RoundTrip(req *http.Request) (*http.Response, error) {
62
// ID only when performing requests to the Copilot API.
63
if req.URL.Host == capiHost {
64
req.Header.Add("Copilot-Integration-Id", "copilot-4-cli")
65
+
66
+ // This is quick fix to ensure that we are not using GitHub API versions while targeting CAPI.
67
+ req.Header.Set("X-GitHub-Api-Version", "2026-01-09")
68
}
69
return ct.rp.RoundTrip(req)
70
0 commit comments