Closed
Description
Apparently codecov-action code is still... bit shaky, giving:
URL rejected: Port number was not a decimal number between 0 and 65535
The happened with usage below on a PR coming from a fork:
- name: Upload coverage data
uses: codecov/[email protected]
with:
name: ${{ matrix.name }}
# verbose: true # optional (default = false)
fail_ci_if_error: true
use_oidc: true # cspell:ignore oidc
Under no circumstance this should happen.
I do suspect that adding the magic below might address the failure, I still think that current behaviour is far from desirable UX.
use_oidc: ${{ !(github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork) }}