tokoko opened a new pull request, #58579:
URL: https://github.com/apache/spark/pull/58579
### What changes were proposed in this pull request?
This PR fixes `update_build_status.yml` so that it coerces non-standard
workflow run conclusions to a value accepted by the PATCH
/repos/{owner}/{repo}/check-runs/{check_run_id} endpoint. run.data.conclusion
is mapped to itself when it is one of the conclusions the endpoint accepts, and
to failure otherwise, instead of passing the raw value through. This mirrors
the mapping of non-standard run statuses in the else branch a few lines below,
added by SPARK-57124.
### Why are the changes needed?
The scheduled job has been failing on every run for quite a while with
`startup_failure is not a member of ["success", "failure", "neutral",
"cancelled", "timed_out", "action_required", "skipped"].`
### Does this PR introduce _any_ user-facing change?
No
### How was this patch tested?
### Was this patch authored or co-authored using generative AI tooling?
Generated-by: Claude Opus 5
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]