gitea/services/forms
Louis e2104a1dd5
Allow configuring default PR base branch (fixes #36412) (#36425)
This adds a per-repository default PR base branch and wires it through
PR entry points. It updates compare links and recently pushed branch
prompts to respect the configured base branch, and prevents auto-merge
cleanup from deleting the configured base branch on same-repo PRs.

## Behavior changes
- New PR compare links on repo home/issue list and branch list honor the
configured default PR base branch.
- The "recently pushed new branches" prompt now compares against the
configured base branch.
- Auto-merge branch cleanup skips deleting the configured base branch
(same-repo PRs only).

---------

Signed-off-by: Louis <116039387+tototomate123@users.noreply.github.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: silverwind <me@silverwind.io>
2026-02-07 01:34:29 +00:00
..
admin.go
auth_form.go Add an option to automatically verify SSH keys from LDAP (#35927) 2025-12-27 12:33:08 +00:00
org.go Move organization's visibility change to danger zone. (#34814) 2025-08-20 20:57:42 -07:00
package_form.go
repo_branch_form.go
repo_form.go Allow configuring default PR base branch (fixes #36412) (#36425) 2026-02-07 01:34:29 +00:00
repo_form_editor.go Refactor editor (#34780) 2025-06-21 19:20:51 +08:00
repo_form_test.go Add API routes to lock and unlock issues (#34165) 2025-04-21 00:43:43 +00:00
repo_tag_form.go
runner.go
user_form.go Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00
user_form_auth_openid.go
user_form_hidden_comments.go
user_form_test.go Replace gobwas/glob package (#35478) 2025-09-13 18:01:00 +00:00