aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-03-13 10:53:31 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-06-05 09:12:46 +0200
commitd7806a493c3843e562ad27737cafdea78915981d (patch)
tree0bc375c0d06322c7b8151edc86edb54f4dcb7437 /mod/mod-ci-github.hxx
parent174fb4375aa4343d82c056926114c1ca02d6c6a7 (diff)
Queue check runs
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx15
1 files changed, 15 insertions, 0 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index 9ecba31..605368f 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -61,6 +61,18 @@ namespace brep
check_suite () = default;
};
+ struct check_run
+ {
+ string node_id;
+ string name;
+ string status;
+
+ explicit
+ check_run (json::parser&);
+
+ check_run () = default;
+ };
+
struct repository
{
string node_id;
@@ -115,6 +127,9 @@ namespace brep
operator<< (ostream&, const check_suite&);
ostream&
+ operator<< (ostream&, const check_run&);
+
+ ostream&
operator<< (ostream&, const repository&);
ostream&