diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-17 15:24:46 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-20 11:29:59 +0200 |
commit | eeb6dc48a187fae178741c59e86af2758e45c7ac (patch) | |
tree | 32b555a97916a0f7befbb2034948bd3613d56639 /mod/mod-ci-github-gq.cxx | |
parent | 96a8bc449cb7205b36dde1528f49e7a57d738a64 (diff) |
ci-github: Remove details_url argument from gq_update_check_run()
We now always set details_url upon creation and it never needs to be updated
again.
Diffstat (limited to 'mod/mod-ci-github-gq.cxx')
-rw-r--r-- | mod/mod-ci-github-gq.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/mod/mod-ci-github-gq.cxx b/mod/mod-ci-github-gq.cxx index a4bcc3a..37d944c 100644 --- a/mod/mod-ci-github-gq.cxx +++ b/mod/mod-ci-github-gq.cxx @@ -509,15 +509,10 @@ namespace brep static string gq_mutation_update_check_run (const string& ri, // Repository ID. const string& ni, // Node ID. - const optional<string>& du, // Details URL. const string& st, // Check run status. optional<timestamp> sa, // Started at. optional<gq_built_result> br) { - // Ensure details URL is non-empty if present. - // - assert (!du || !du->empty ()); - assert (st != "COMPLETED" || br); ostringstream os; @@ -543,11 +538,6 @@ namespace brep ": " + e.what ()); } } - if (du) - { - os << '\n'; - os << " detailsUrl: " << gq_str (*du); - } if (br) { os << '\n'; @@ -663,7 +653,6 @@ namespace brep const string& iat, const string& rid, const string& nid, - const optional<string>& du, build_state st, optional<gq_built_result> br) { @@ -682,7 +671,6 @@ namespace brep gq_serialize_request ( gq_mutation_update_check_run (rid, nid, - du, gh_to_status (st), sa, move (br)))); |