You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jolheiser c46c4f78ea
Re-run after refactor
2 months ago
events Re-run after refactor 2 months ago
.gitignore Initial commit 2 months ago
LICENSE Initial commit 2 months ago
README.md Refactor dirs 2 months ago
generate.go Re-run after refactor 2 months ago
go.mod Add generator 2 months ago
go.sum Add generator 2 months ago
main.go Refactor dirs 2 months ago
web.go Refactor dirs 2 months ago

README.md

Gitea Webhook

Webhook structs for Gitea webhook payloads.

Example payloads

Generating

There are three required env variables

Variable Reason
GITEA_TOKEN Gitea token for "main" account to use
GITEA_TOKEN_ALT Gitea token for "alt" account (fork, PR review)
WEBHOOK_URL URL that this app will be running on

License

MIT