codecov / codecov-bash

Global coverage report uploader for Codecov
https://codecov.io
Apache License 2.0
234 stars 155 forks source link

The CodeCov Bash uploader breaks uploads when run within GitHub Actions on GitHub Enterprise #440

Open debayande opened 3 years ago

debayande commented 3 years ago

As a part of its routine for auto-detecting the underlying CI engine, the Bash uploader sets the build_url parameter to http://github.com/${GITHUB_REPOSITORY}/actions/runs/${GITHUB_RUN_ID} in L875 upon detecting GitHub Actions as the CI engine.

While this works fine for GitHub.com, it breaks uploads with HTTP 500 errors when run on GitHub Enterprise, GitHub's self-hosted sibling.

May we please request a fix for the same? Thanks.