A CI bridge from GitHub to SourceHut.
A public instance is available.
go build
Follow the GitHub guide to register an app suitable for the Checks API:
https://<domain>/post-install
https://<domain>/webhook
Grab the GitHub app ID and webhook secret (optional for local development). Download a new PEM private key.
Start hottub:
hottub -gh-app-id <id> -gh-private-key <path> -gh-webhook-secret <secret>
Optionally, to improve the authorization flow, you can register an sr.ht
OAuth2 client (setting the Redirection URI to
https://<domain>/authorize-srht
) and pass its credentials with
-metasrht-client-id
and -metasrht-client-secret
.
AGPLv3, see LICENSE.
Copyright (C) 2022 Simon Ser