From e28291b10fa2fbe12d33eba5acfc7de62b0f1dcc Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Tue, 3 Dec 2024 14:51:16 +0200 Subject: Handle completed check_suite webhook events --- mod/mod-ci-github-gh.hxx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mod/mod-ci-github-gh.hxx') 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 head_branch; string head_sha; + size_t check_runs_count; + optional 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). -- cgit v1.1