codecov-action
codecov-action copied to clipboard
self-hosted agent behind the proxy
The action is not working for self-host agents behind the proxy (setup by https://docs.github.com/en/actions/hosting-your-own-runners/using-a-proxy-server-with-self-hosted-runners) This is because https://github.com/codecov/codecov-action/blob/53cfbc752e9c24b67aa0ada6f90cd0ea22c5f6d6/src/index.ts#L25 http.get doesn't use http_proxy / https_proxy env vars. Can you change it to some http-client which respects these 2 env vars? (e.g. https://github.com/actions/http-client)
uploader have an option to specify proxy but the action do not have. So, I'm still using codecov-uploader directly with my self-hosted runner.
-U, --upstream | The upstream http proxy server to connect through[string] [default: ""]
https://docs.codecov.com/docs/codecov-uploader