Action does not report an error on push events if `gh` is not installed
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 68/100
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.
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?
- Dominant language
- Python
- Stars
- 99
- Forks
- 20
- PR merge metrics
- No merged PRs in 30d
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.
More from actions/upload-code-coverage
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
-
Difficulty 1/5 Under an hour Newbie friendliness 45/100
actions/upload-code-coverage#20 · 1 comment · 3 reactions ·
-
Difficulty 3/5 1-2 days Newbie friendliness 58/100
actions/upload-code-coverage#16 · 2 comments · 5 reactions ·
-
Push to default branch attributes coverage to an unrelated fork PR with a same-named head branch Open
Difficulty 3/5 1-2 days Newbie friendliness 74/100
actions/upload-code-coverage#14 · 1 comment ·
All issues in actions/upload-code-coverage
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
use-agent-os/agent-os#3314 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
BasedHardware/omi#15662 · 1 comment ·
-
documentation help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
AiursoftWeb/AnduinOS-2#19 ·