diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2024-11-19 09:31:41 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2024-11-25 09:55:19 +0200 |
commit | 8a92b0d7e27a0010a03f5eaa61e77ce6f5046e51 (patch) | |
tree | 89ef5b9ebd1b71bc5717fa8db92ed0e4a74db694 /mod/mod-ci-github-gq.hxx | |
parent | 2379fcbb0016d0ea4c72594d51a81fce8d1931af (diff) |
gq_create_check_runs(): Take build state from check_run arguments
Diffstat (limited to 'mod/mod-ci-github-gq.hxx')
-rw-r--r-- | mod/mod-ci-github-gq.hxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/mod-ci-github-gq.hxx b/mod/mod-ci-github-gq.hxx index f041ea8..9c23cd4 100644 --- a/mod/mod-ci-github-gq.hxx +++ b/mod/mod-ci-github-gq.hxx @@ -19,9 +19,10 @@ namespace brep // GraphQL functions (all start with gq_). // - // Create a new check run on GitHub for each build. Update `check_runs` with - // the new data (node id, state, and state_synced). Return false and issue - // diagnostics if the request failed. + // Create a new check run on GitHub for each build with the build state + // taken from each check_run object. Update `check_runs` with the new data + // (node id and state_synced). Return false and issue diagnostics if the + // request failed. // // Note: no details_url yet since there will be no entry in the build result // search page until the task starts building. @@ -36,8 +37,7 @@ namespace brep vector<check_run>& check_runs, const string& installation_access_token, const string& repository_id, - const string& head_sha, - build_state); + const string& head_sha); // Create a new check run on GitHub for a build. Update `cr` with the new // data (node id, state, and state_synced). Return false and issue |