From c33997821dcca40b53777b9fa45781dddeb3a999 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 26 Apr 2024 11:02:29 +0200 Subject: Review --- mod/mod-ci-github-gq.hxx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'mod/mod-ci-github-gq.hxx') 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_runs, + gq_create_check_runs (const basic_mark& error, + vector& check_runs, const string& installation_access_token, const string& repository_id, const string& head_sha, const vector>&, 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, - const build_queued_hints&, - const basic_mark& error); + optional = 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, - const basic_mark& error); + optional = nullopt); } #endif // MOD_MOD_CI_GITHUB_GQ_HXX -- cgit v1.1