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.hxx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'mod/mod-ci-github.hxx') diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx index 104f889..f97bf05 100644 --- a/mod/mod-ci-github.hxx +++ b/mod/mod-ci-github.hxx @@ -90,6 +90,14 @@ namespace brep bool handle_check_suite_request (gh_check_suite_event, bool warning_success); + // Handle the check_suite event `completed` action. + // + // If warning_success is true, then map result_status::warning to SUCCESS + // and to FAILURE otherwise. + // + bool + handle_check_suite_completed (gh_check_suite_event, bool warning_success); + // Handle the check_run event `rerequested` action. // // If warning_success is true, then map result_status::warning to SUCCESS -- cgit v1.1