aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-ci-github-service-data.hxx')
-rw-r--r--mod/mod-ci-github-service-data.hxx18
1 files changed, 6 insertions, 12 deletions
diff --git a/mod/mod-ci-github-service-data.hxx b/mod/mod-ci-github-service-data.hxx
index c321edc..f563e29 100644
--- a/mod/mod-ci-github-service-data.hxx
+++ b/mod/mod-ci-github-service-data.hxx
@@ -92,20 +92,14 @@ namespace brep
string repository_node_id; // GitHub-internal opaque repository id.
+ string repository_clone_url;
+
// The following two are only used for pull requests.
//
// @@ TODO/LATER: maybe put them in a struct?
//
optional<string> pr_node_id;
optional<uint32_t> pr_number;
- optional<string> pr_repository_clone_url;
-
- // The GitHub ID of the synthetic PR merge check run or absent if it
- // hasn't been created yet.
- //
- // @@ TODO Remove once merge check run code has been removed.
- //
- optional<string> merge_node_id;
// The commit ID the branch push or pull request (and its check runs) are
// building. This will be the head commit for the branch push as well as
@@ -123,7 +117,7 @@ namespace brep
vector<check_run> check_runs;
// The GitHub ID of the synthetic conclusion check run or absent if it
- // hasn't been created yet. See also merge_node_id above.
+ // hasn't been created yet.
//
optional<string> conclusion_node_id;
@@ -150,7 +144,7 @@ namespace brep
timestamp iat_expires_at,
uint64_t installation_id,
string repository_node_id,
- string event_node_id,
+ string repository_clone_url,
kind_type kind,
bool pre_check,
bool re_request,
@@ -164,13 +158,13 @@ namespace brep
timestamp iat_expires_at,
uint64_t installation_id,
string repository_node_id,
- string event_node_id,
+ string repository_clone_url,
+ string pr_node_id,
kind_type kind,
bool pre_check,
bool re_request,
string check_sha,
string report_sha,
- string repository_clone_url,
uint32_t pr_number);
service_data () = default;