aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github-service-data.cxx
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-service-data.cxx
parent630834173bba497c9f21eb0459ba5cb7264346ee (diff)
Handle check suite rebuilds (all checks) on a commit and/or PR
Diffstat (limited to 'mod/mod-ci-github-service-data.cxx')
-rw-r--r--mod/mod-ci-github-service-data.cxx20
1 files changed, 14 insertions, 6 deletions
diff --git a/mod/mod-ci-github-service-data.cxx b/mod/mod-ci-github-service-data.cxx
index 3812bf7..f93bc05 100644
--- a/mod/mod-ci-github-service-data.cxx
+++ b/mod/mod-ci-github-service-data.cxx
@@ -102,15 +102,18 @@ namespace brep
timestamp iat_ea,
uint64_t iid,
string rid,
- string hs,
- bool rr)
- : kind (local), pre_check (false), re_request (rr),
+ kind_type k,
+ bool rr,
+ bool pc,
+ string cs,
+ string rs)
+ : kind (k), pre_check (pc), re_request (rr),
warning_success (ws),
installation_access (move (iat_tok), iat_ea),
installation_id (iid),
repository_node_id (move (rid)),
- check_sha (hs),
- report_sha (move (hs))
+ check_sha (move (cs)),
+ report_sha (move (rs))
{
}
@@ -122,16 +125,21 @@ namespace brep
timestamp iat_ea,
uint64_t iid,
string rid,
+ kind_type k,
+ bool rr,
+ bool pc,
+ string cs,
string rs,
string rcu,
uint32_t prn)
- : kind (local), pre_check (true), re_request (false),
+ : kind (k), pre_check (pc), re_request (rr),
warning_success (ws),
installation_access (move (iat_tok), iat_ea),
installation_id (iid),
repository_node_id (move (rid)),
repository_clone_url (move (rcu)),
pr_number (prn),
+ check_sha (move (cs)),
report_sha (move (rs))
{
}