diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-05-23 10:12:42 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-06-05 09:12:46 +0200 |
commit | 25bb5af1aebd3e1f6f8a6a18805a94b8e23288bf (patch) | |
tree | 2b35c98e6819c2f787b53447af14d783e827a659 /mod/mod-ci-github.hxx | |
parent | ffcb87ff7fe364bf7053ba66b767e46cbd37fa51 (diff) |
Handle pull_request events
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r-- | mod/mod-ci-github.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
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 |