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-10-15 09:05:27 +0200
commit850aa60247642fe668bce8c3a78fd73b7aad5adf (patch)
treeb4c4997bf7eabb083d80c31defdfac052d9077d2 /mod/mod-ci-github.hxx
parent9c780e2c55db7dc9482df6528710768152533f60 (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&