Fix update_build_status.yml to map non-standard workflow run conclusions

XMLWordPrintableJSON

      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.

      Example: https://github.com/apache/spark/actions/runs/34106623995

      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.

            Assignee:
            Tornike Gurgenidze
            Reporter:
            Tornike Gurgenidze
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: