gitea/models
silverwind ef88cdb7e7
Add `DEFAULT_DELETE_BRANCH_AFTER_MERGE` setting (#36917)
Add this config option, applying to new repos:

```ini
[repository.pull-request]
DEFAULT_DELETE_BRANCH_AFTER_MERGE = true
```

Defaults to `false`, preserving current behavior.

---------

Co-authored-by: Claude (Opus 4.6) <noreply@anthropic.com>
2026-03-23 17:34:45 +00:00
..
actions Add summary to action runs view (#36883) 2026-03-22 01:04:39 +00:00
activities Fix typos in code comments: doesnt, dont, wont (#36890) 2026-03-13 09:58:44 -07:00
admin Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +08:00
asymkey Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
auth Fix OAuth2 authorization code expiry and reuse handling (#36797) 2026-03-06 05:00:44 +00:00
avatars Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
db Enable `nilnil` linter for new code (#36591) 2026-02-16 09:57:18 +00:00
dbfs Fix dbfs error handling (#36844) 2026-03-07 00:28:46 +08:00
fixtures Add user badges (#36752) 2026-03-22 15:49:45 +00:00
git Replace index with id in actions routes (#36842) 2026-03-10 22:14:48 +01:00
issues Fix various trivial problems (#36921) 2026-03-19 07:13:55 +08:00
migrations Add user badges (#36752) 2026-03-22 15:49:45 +00:00
organization Correct spelling (#36783) 2026-02-28 11:23:20 -08:00
packages fix(packages/container): data race when uploading container blobs concurrently (#36524) 2026-02-04 00:08:20 +08:00
perm feat: Add configurable permissions for Actions automatic tokens (#36173) 2026-03-21 15:39:47 -07:00
project Fix permission check on org project operations (#36318) 2026-01-14 17:29:33 +00:00
pull Fix incorrect viewed files counter if file has changed (#36009) 2025-11-27 14:02:03 +00:00
renderhelper fix: generate IDs for HTML headings without id attribute (#36233) 2026-01-06 05:09:44 +00:00
repo Add `DEFAULT_DELETE_BRANCH_AFTER_MERGE` setting (#36917) 2026-03-23 17:34:45 +00:00
secret Don't block site admin's operation if SECRET_KEY is lost (#35721) 2025-10-22 12:35:56 +08:00
shared/types Refactor locale&string&template related code (#29165) 2024-02-14 21:48:45 +00:00
system Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00
unit Run `gopls modernize` on codebase (#34751) 2025-06-18 01:48:09 +00:00
unittest Clean up Makefile, tests and legacy code (#36638) 2026-02-19 01:23:32 +00:00
user Add user badges (#36752) 2026-03-22 15:49:45 +00:00
webhook Add paging headers (#36521) 2026-02-06 13:12:05 +00:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
repo.go Use db.WithTx/WithTx2 instead of TxContext when possible (#35130) 2025-07-22 10:02:01 -07:00
repo_test.go Remove incorrect "db.DefaultContext" usages (#35366) 2025-08-28 03:52:43 +00:00