Skip to content

v5.0.7: URL rejected: Port number was not a decimal number between 0 and 65535 #1711

Closed
@ssbarnea

Description

@ssbarnea

Apparently codecov-action code is still... bit shaky, giving:

URL rejected: Port number was not a decimal number between 0 and 65535

See https://github.com/ansible/ansible-lint/actions/runs/12161810343/job/33917941601?pr=4412#step:8:79

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) }}

Metadata

Metadata

Labels

bugSomething isn't workinghighHigh Priority Issues (to be fixed within 2 sprints)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions