diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2024-04-26 11:02:29 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-06-05 09:12:46 +0200 |
commit | 823eb2bc447d274789b8d1d49bdba12e68bfabed (patch) | |
tree | ddbd4a8f399ecfc717a5d6d1e64922bddb65079d /mod/mod-ci-github-gq.hxx | |
parent | afdfd27f56f8e9bf462912aff4bc318790832254 (diff) |
Review
Diffstat (limited to 'mod/mod-ci-github-gq.hxx')
-rw-r--r-- | mod/mod-ci-github-gq.hxx | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/mod/mod-ci-github-gq.hxx b/mod/mod-ci-github-gq.hxx index 9331b2b..16117ea 100644 --- a/mod/mod-ci-github-gq.hxx +++ b/mod/mod-ci-github-gq.hxx @@ -24,14 +24,14 @@ namespace brep // request failed. // bool - gq_create_check_runs (vector<check_run>& check_runs, + gq_create_check_runs (const basic_mark& error, + vector<check_run>& check_runs, const string& installation_access_token, const string& repository_id, const string& head_sha, const vector<reference_wrapper<const build>>&, build_state, - const build_queued_hints&, - const basic_mark& error); + const build_queued_hints&); // Create a new check run on GitHub for a build. Update `cr` with the new // state and the node ID. Return false and issue diagnostics if the request @@ -43,15 +43,15 @@ namespace brep // @@ TODO Support output (title, summary, text). // bool - gq_create_check_run (check_run& cr, + gq_create_check_run (const basic_mark& error, + check_run& cr, const string& installation_access_token, const string& repository_id, const string& head_sha, const build&, build_state, - optional<result_status>, - const build_queued_hints&, - const basic_mark& error); + optional<result_status> = nullopt, + const build_queued_hints&); // Update a check run on GitHub. // @@ -65,13 +65,13 @@ namespace brep // @@ TODO Support output (title, summary, text). // bool - gq_update_check_run (check_run& cr, + gq_update_check_run (const basic_mark& error, + check_run& cr, const string& installation_access_token, const string& repository_id, const string& node_id, build_state, - optional<result_status>, - const basic_mark& error); + optional<result_status> = nullopt); } #endif // MOD_MOD_CI_GITHUB_GQ_HXX |