gitea/models
Lunny Xiao 39d51e7c82
Automerge supports deleting branch automatically after merging ()
Resolve  
~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
..
actions Update status check for all supported on.pull_request.types in Gitea () 2025-01-08 01:58:47 +08:00
activities Refactor tests () 2024-12-29 01:05:56 +00:00
admin Fix javascript error when an anonymous user visiting migration page () 2024-10-02 04:37:16 +00:00
asymkey Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
auth Refactor tests () 2024-12-29 01:05:56 +00:00
avatars Replace 10 more gt- classes with tw- () 2024-03-22 13:45:10 +00:00
db Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
dbfs Enable `unparam` linter () 2024-06-11 18:47:45 +00:00
fixtures Refactor fixture loading for testing () 2024-12-30 04:06:57 +00:00
git Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
issues Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
migrations Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
organization Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
packages Refactor maven package registry () 2024-12-31 05:30:52 +00:00
perm Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
project Use project's redirect url instead of composing url () 2024-12-31 19:19:53 +08:00
pull Automerge supports deleting branch automatically after merging () 2025-01-10 03:51:03 +08:00
renderhelper Refactor render system (orgmode) () 2024-11-29 16:08:29 +08:00
repo add submodule diff links () 2025-01-08 01:38:30 +00:00
secret Clarify Actions resources ownership () 2024-08-01 09:04:04 +00:00
shared/types Refactor locale&string&template related code () 2024-02-14 21:48:45 +00:00
system Refactor deletion () 2023-12-25 21:25:29 +01:00
unit Add `DEFAULT_MIRROR_REPO_UNITS` and `DEFAULT_TEMPLATE_REPO_UNITS` options () 2024-11-11 00:11:00 +00:00
unittest Make git clone URL could use current signed-in user () 2025-01-07 13:17:44 +08:00
user Refactor older tests to use testify () 2025-01-09 09:21:47 +08:00
webhook Enable tenv and testifylint rules () 2024-12-15 10:41:29 +00:00
main_test.go make writing main test easier () 2023-09-28 01:38:53 +00:00
repo.go Fix issue comment number () 2024-12-30 14:35:46 -08:00
repo_test.go Fix issue comment number () 2024-12-30 14:35:46 -08:00