gitea/services/pull
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`.
..
check.go Add missed transaction on setmerged ()
check_test.go Replace assert.Fail with assert.FailNow ()
comment.go Update misspell to 0.5.1 and add `misspellings.csv` ()
commit_status.go Use db.ListOptionsAll instead of db.ListOptions{ListAll: true} ()
commit_status_test.go Fixing the issue when status check per rule matches multiple actions ()
edits.go Implement FSFE REUSE for golang files ()
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods ()
main_test.go make writing main test easier ()
merge.go Add missed transaction on setmerged ()
merge_ff_only.go Add merge style `fast-forward-only` ()
merge_merge.go Add merge style `fast-forward-only` ()
merge_prepare.go Move some errors to their own sub packages ()
merge_rebase.go Simplify how git repositories are opened ()
merge_squash.go Fix duplicate co-author in squashed merge commit messages ()
merge_test.go Support template for merge message description ()
patch.go Refactor getpatch/getdiff functions and remove unnecessary fallback ()
patch_unmerged.go Implement FSFE REUSE for golang files ()
pull.go Automerge supports deleting branch automatically after merging ()
pull_test.go Simplify how git repositories are opened ()
review.go Fix the logic of finding the latest pull review commit ID ()
review_test.go Prevent re-review and dismiss review actions on closed and merged PRs ()
reviewer.go Fix get reviewers' bug ()
reviewer_test.go Enable tenv and testifylint rules ()
temp_repo.go Make sure git version&feature are always prepared ()
update.go Support "merge upstream branch" (Sync fork) ()
update_rebase.go Resolve lint for unused parameter and unnecessary type arguments ()