diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-12-03 14:51:16 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2024-12-10 16:44:55 +0200 |
commit | e28291b10fa2fbe12d33eba5acfc7de62b0f1dcc (patch) | |
tree | f6b2de1c2ee00c38822c60cd012202cbb417a245 /mod/mod-ci-github-gh.hxx | |
parent | c05051582afa6d778edf544bf8ccd9392ef64bb0 (diff) |
Handle completed check_suite webhook events
Diffstat (limited to 'mod/mod-ci-github-gh.hxx')
-rw-r--r-- | mod/mod-ci-github-gh.hxx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mod/mod-ci-github-gh.hxx b/mod/mod-ci-github-gh.hxx index 392c0e8..05c289e 100644 --- a/mod/mod-ci-github-gh.hxx +++ b/mod/mod-ci-github-gh.hxx @@ -51,6 +51,9 @@ namespace brep optional<string> head_branch; string head_sha; + size_t check_runs_count; + optional<string> conclusion; + explicit gh_check_suite (json::parser&); @@ -110,8 +113,8 @@ namespace brep build_state gh_from_status (const string&); - // If warning_success is true, then map result_status::warning to SUCCESS - // and to FAILURE otherwise. + // If warning_success is true, then map result_status::warning to `SUCCESS` + // and to `FAILURE` otherwise. // // Throw invalid_argument in case of unsupported result_status value // (currently skip, interrupt). |