aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-12-19 08:55:11 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-19 11:25:44 +0200
commit62ec3a690f59814d28ff5c4c1e7dd9fd1fab7e7b (patch)
tree9fcad1f360b8edde21179d0530dd16dadc62ab4f
parent9f1f28c078d37f01e88169aa1a4d75900e3cf40d (diff)
ci-github: Fix bug found during testing
If tenant is archived when a check run is re-requested, we were updating (by creating) the build CR without having set its name.
-rw-r--r--mod/mod-ci-github.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/mod-ci-github.cxx b/mod/mod-ci-github.cxx
index f8cc147..773ca5f 100644
--- a/mod/mod-ci-github.cxx
+++ b/mod/mod-ci-github.cxx
@@ -943,6 +943,7 @@ namespace brep
check_run& bcr (check_runs[0]); // Build check run
check_run& ccr (check_runs[1]); // Conclusion check run
+ bcr.name = cr.check_run.name;
ccr.name = conclusion_check_run_name;
// Load the service data, failing the check runs if the tenant has been