aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-gh.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-10-24 09:25:59 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-10 16:34:15 +0200
commit656b96fde2f28d4e6866180174c4e8481a358624 (patch)
tree8d2bece19568909dd0d0d89099250136e949d2ae /mod/mod-ci-github-gh.hxx
parent630834173bba497c9f21eb0459ba5cb7264346ee (diff)
Handle check suite rebuilds (all checks) on a commit and/or PR
Diffstat (limited to 'mod/mod-ci-github-gh.hxx')
-rw-r--r--mod/mod-ci-github-gh.hxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/mod/mod-ci-github-gh.hxx b/mod/mod-ci-github-gh.hxx
index 2b77aeb..58714be 100644
--- a/mod/mod-ci-github-gh.hxx
+++ b/mod/mod-ci-github-gh.hxx
@@ -21,6 +21,8 @@ namespace butl
namespace brep
{
+ // @@@ Check if any data members are unused (once the dust settles).
+
using build_queued_hints = tenant_service_build_queued::build_queued_hints;
// GitHub request/response types (all start with gh_).
@@ -45,7 +47,7 @@ namespace brep
struct gh_check_suite
{
string node_id;
- string head_branch;
+ optional<string> head_branch;
string head_sha;
explicit
@@ -81,14 +83,12 @@ namespace brep
optional<bool> mergeable;
string merge_commit_sha;
- // @@ TODO Remove label if unused.
- string base_label; // Name distinguishing the base from the head.
- string base_ref;
- string base_sha;
+ string base_path; // Repository path (<org>/<repo>) under github.com.
+ string base_ref; // @@ TODO Remove if remains unused.
+ string base_sha; // @@ TODO Remove if remains unused.
- // @@ TODO Remove label if unused.
- string head_label; // Name distinguishing the head from the base.
- string head_ref;
+ string head_path;
+ string head_ref; // @@ TODO Remove if remains unused.
string head_sha;
explicit
@@ -124,7 +124,7 @@ namespace brep
{
string node_id;
string name;
- string full_name;
+ string path; // Repository path (<org>/<repo>) under github.com.
string default_branch;
string clone_url;