actions / actions/upload-code-coverage
Action does not report an error on push events if `gh` is not installed
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 99
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
Description
I have been having some issues getting the action to work, not using the default Github actions image. It was giving me an error that I cannot upload the coverage report to a non-default branch with no PR, even though a PR for the branch exists.
After looking into it, I realized that I hadn't installed gh and this line just fails silently in that case. Could we add an error message or something if gh is not installed or throws an error?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at action.yml line 60 and inspect how the push-event upload path invokes gh. Reproduce the action with gh unavailable or failing, then verify it emits a clear error instead of failing silently.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github, github-actions, python
- Domain
- ci-cd
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 68/100