0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-01-31 13:51:45 +01:00
gitea/routers/web
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging (#32343)
Resolve #32341 
~Depends on #27151~

- [x] It will display a checkbox of deleting the head branch on the pull
request view page when starting an auto-merge task.
- [x] Add permission check before deleting the branch
- [x] Add delete branch comment for those closing pull requests because
of head branch or base branch was deleted.
- [x] Merge `RetargetChildrenOnMerge` and `AddDeletePRBranchComment`
into `service.DeleteBranch`.
2025-01-10 03:51:03 +08:00
..
admin
auth
devtest
events
explore
feed
healthcheck
misc
org
repo Automerge supports deleting branch automatically after merging (#32343) 2025-01-10 03:51:03 +08:00
shared
user
base.go
githttp.go
goget.go
home.go
metrics.go
nodeinfo.go
passkey.go
swagger_json.go
web.go
webfinger.go