-
-
Couldn't load subscription status.
- Fork 3.7k
Description
What's the problem this feature will solve?
This is about GitHub PR runs. The in_progress part makes two things a little nicer:
- When a commit comes in triggering a RTD job, it’s unclear if RTD is functional, as it doesn’t update the check run between
queuedandcompleted(alsopendinglooks very similar toqueued) - when restarting a run, it still displays as
failureuntil it finishes again instead of asin_progressagain
Describe the solution you'd like
GitHub check runs have a few state updates, including in_progress: https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#update-a-check-run
status
stringThe current status of the check run. Only GitHub Actions can set a status of
waiting,pending, orrequested.Can be one of:
queued,in_progress,completed, (waiting,requested,pending)
It would be great if you could update the check run with in_progress once it has started/restarted
Part 2: cancelled
There’s also a conclusion field, which you can use to display manually cancelled runs as such instead of lumping them together with regular failure ones:
conclusion
stringRequired if you provide
completed_ator astatusofcompleted. The final conclusion of the check. Note: Providing conclusion will automatically set thestatusparameter to completed. You cannot change a check run conclusion tostale, only GitHub can set this.Can be one of:
action_required,cancelled,failure,neutral,success,skipped, (stale),timed_out