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
queued
andcompleted
(alsopending
looks very similar toqueued
) - when restarting a run, it still displays as
failure
until it finishes again instead of asin_progress
again
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
string
The 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
string
Required if you provide
completed_at
or astatus
ofcompleted
. The final conclusion of the check. Note: Providing conclusion will automatically set thestatus
parameter 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