Go to file
jolheiser ffc36ae548
chore: generate webhooks
Signed-off-by: jolheiser <john.olheiser@gmail.com>
2023-01-25 22:05:54 -06:00
events chore: generate webhooks 2023-01-25 22:05:54 -06:00
.gitignore Initial commit 2021-10-04 22:14:53 -05:00
generate.go chore: generate webhooks 2023-01-25 22:05:54 -06:00
go.mod chore: generate payloads 2022-11-28 09:17:24 -06:00
go.sum chore: generate payloads 2022-11-28 09:17:24 -06:00
LICENSE Initial commit 2021-10-04 22:14:53 -05:00
main.go Refactor dirs 2021-10-08 14:43:56 -05:00
README.md chore: generate payloads 2022-11-28 09:17:24 -06:00
TIMELINE.md chore: generate webhooks 2023-01-25 22:05:54 -06:00
web.go Refactor dirs 2021-10-08 14:43:56 -05:00

Gitea Webhook

Webhook structs for Gitea webhook payloads.

Example payloads

Payload generation timeline

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