]> source.dussan.org Git - gitea.git/commit
Trigger webhook when deleting a branch after merging a PR (#9424)
authorBrad Albright <32200834+bhalbright@users.noreply.github.com>
Wed, 25 Dec 2019 05:59:41 +0000 (23:59 -0600)
committerzeripath <art27@cantab.net>
Wed, 25 Dec 2019 05:59:41 +0000 (05:59 +0000)
commitf88715e29c8cd6865b69eb8e692d051d977e93a5
tree773a3cf4239d116fc43a4c31eebf4210fc748be3
parent8e655728e900df10a1d1eedb631dcd8fcb2729d3
Trigger webhook when deleting a branch after merging a PR (#9424)

* fixed so when deleting a branch after merging a PR, a webhook is triggered

* changed to use pr.HeadRepo instead of ctx.Repo when sending webhook for a deletion of branch after merging pr

Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
routers/repo/pull.go