]> source.dussan.org Git - gitea.git/commit
Add `branch_filter` to hooks API endpoints (#26599) (#26632)
authorGiteabot <teabot@gitea.io>
Mon, 21 Aug 2023 12:17:19 +0000 (20:17 +0800)
committerGitHub <noreply@github.com>
Mon, 21 Aug 2023 12:17:19 +0000 (12:17 +0000)
commitfe78aabc673daf36655f0cca7e83cf2b057b8361
tree2035929498465303aaf75f0ef1b78e3611764fc7
parent4aed0e6b074b538ba71ba0560a416f282b3cc30b
Add `branch_filter` to hooks API endpoints (#26599) (#26632)

Backport #26599 by @yardenshoham

We now include the branch filler in the response.

- Closes #26591

Signed-off-by: Yarden Shoham <git@yardenshoham.com>
Co-authored-by: Yarden Shoham <git@yardenshoham.com>
modules/structs/hook.go
services/webhook/general.go
templates/swagger/v1_json.tmpl