-
Type:
Task
-
Resolution: Fixed
-
Priority:
Minor
-
Affects Version/s: 5.0.0
-
Component/s: Project Infra
The scheduled "Update build status workflow" job fails with HTTP 422 when a fork's workflow run has a conclusion the check-runs API does not accept.
Unhandled error: HttpError: Invalid request. startup_failure is not a member of ["success", "failure", "neutral", "cancelled", "timed_out", "action_required", "skipped"].
GET /repos/{owner}/{repo}/actions/runs/{run_id} can return "startup_failure" and "stale" as conclusions, neither of which is accepted by PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}. The workflow forwards run.data.conclusion unchanged, so the request is rejected.
- links to