aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-06-03 09:55:36 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-10 16:34:15 +0200
commitdd0fbb6e941bf77204c7172f2e1498d9d5d7a3b3 (patch)
treedef61787bc0881d5c5dde27d3d7e580c502db2c9 /mod/mod-ci-github-service-data.hxx
parent99a76da2a6c6b9ea4db63e1eba08d59869f6133c (diff)
Create conclusion CR for check suites and update it in build_built()
Diffstat (limited to 'mod/mod-ci-github-service-data.hxx')
-rw-r--r--mod/mod-ci-github-service-data.hxx12
1 files changed, 7 insertions, 5 deletions
diff --git a/mod/mod-ci-github-service-data.hxx b/mod/mod-ci-github-service-data.hxx
index 21c8a8f..5573d90 100644
--- a/mod/mod-ci-github-service-data.hxx
+++ b/mod/mod-ci-github-service-data.hxx
@@ -24,12 +24,14 @@ namespace brep
//
struct check_run
{
- string build_id; // Full build id.
- string name; // Potentially shortened build id.
- optional<string> node_id; // GitHub id.
+ string build_id; // Full build id.
+ string name; // Potentially shortened build id.
+ optional<string> node_id; // GitHub id.
- build_state state;
- bool state_synced;
+ build_state state;
+ bool state_synced;
+
+ optional<result_status> status; // Only present if state is built.
string
state_string () const