]> source.dussan.org Git - gitea.git/commit
Add new event commit status creation and webhook implementation (#27151)
authorLunny Xiao <xiaolunwen@gmail.com>
Thu, 7 Nov 2024 06:41:49 +0000 (22:41 -0800)
committerGitHub <noreply@github.com>
Thu, 7 Nov 2024 06:41:49 +0000 (06:41 +0000)
commit331e878e81d57235a53199383087c7649797a887
tree736485bdb5b49956022587506315b652076cff2f
parent145e26698791221b007c7dd460fb506cb0237235
Add new event commit status creation and webhook implementation (#27151)

This PR introduces a new event which is similar as Github's. When a new
commit status submitted, the event will be trigged. That means, now we
can receive all feedback from CI/CD system in webhooks or other notify
systems.

ref:
https://docs.github.com/en/webhooks/webhook-events-and-payloads#status

Fix #20749
modules/repository/commits.go
modules/structs/hook.go
modules/webhook/type.go
services/actions/commit_status.go
services/automerge/notify.go
services/notify/notifier.go
services/notify/notify.go
services/notify/null.go
services/repository/commitstatus/commitstatus.go
services/webhook/notifier.go