From ee8370a3139deae4a23307333a23100818ce4682 Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Mon, 29 Apr 2024 10:51:12 +0200 Subject: Handle warning_success webhook query parameter --- mod/mod-ci-github.hxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mod/mod-ci-github.hxx') diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx index 07feca8..b16085e 100644 --- a/mod/mod-ci-github.hxx +++ b/mod/mod-ci-github.hxx @@ -60,8 +60,11 @@ namespace brep // Handle the check_suite event `requested` and `rerequested` actions. // + // If warning_success is true, then map result_status::warning to SUCCESS + // and to FAILURE otherwise. + // bool - handle_check_suite_request (gh_check_suite_event); + handle_check_suite_request (gh_check_suite_event, bool warning_success); optional generate_jwt (const basic_mark& trace, const basic_mark& error) const; -- cgit v1.1