aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-ci-github.hxx
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-02-27 16:39:03 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-10-15 09:05:27 +0200
commita47fa04f5a4e6de23779aa964c96f0b9494ad56d (patch)
treeba16f326759f1dba0a8e4ca106982a0be05d727a /mod/mod-ci-github.hxx
parentc9bfe5a90e4ba2d873634562a317dd10a6b2ec83 (diff)
Post-review changes
Diffstat (limited to 'mod/mod-ci-github.hxx')
-rw-r--r--mod/mod-ci-github.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/mod/mod-ci-github.hxx b/mod/mod-ci-github.hxx
index 4f724af..f9fb7e6 100644
--- a/mod/mod-ci-github.hxx
+++ b/mod/mod-ci-github.hxx
@@ -29,7 +29,9 @@ namespace brep
//
namespace gh
{
- // The "check_suite" object within a check_quite webhook request.
+ namespace json = butl::json;
+
+ // The "check_suite" object within a check_suite webhook request.
//
struct check_suite
{
@@ -131,15 +133,15 @@ namespace brep
// Handle the check_suite event `requested` and `rerequested` actions.
//
bool
- handle_check_suite_request (check_suite_event) const;
+ handle_check_suite_request (gh::check_suite_event) const;
- void string
+ string
generate_jwt () const;
// Authenticate to GitHub as an app installation.
//
gh::installation_access_token
- obtain_installation_access_token (string jwt) const;
+ obtain_installation_access_token (uint64_t install_id, string jwt) const;
private:
shared_ptr<options::ci_github> options_;