From 25bb5af1aebd3e1f6f8a6a18805a94b8e23288bf Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Thu, 23 May 2024 10:12:42 +0200 Subject: Handle pull_request 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 946a326..8b2676b 100644 --- a/mod/mod-ci-github.hxx +++ b/mod/mod-ci-github.hxx @@ -66,6 +66,14 @@ namespace brep bool handle_check_suite_request (gh_check_suite_event, bool warning_success); + // Handle the pull_request event `opened` and `synchronize` actions. + // + // If warning_success is true, then map result_status::warning to SUCCESS + // and to FAILURE otherwise. + // + bool + handle_pull_request (gh_pull_request_event, bool warning_success); + // Build a check run details_url for a build. // string -- cgit v1.1