gitea/templates
Rob Gonnella c9e7fde8b3
feat: adds option to force update new branch in contents routes (#35592)
Allows users to specify a "force" option in API /contents routes when
modifying files in a new branch. When "force" is true, and the branch
already exists, a force push will occur provided the branch does not
have a branch protection rule that disables force pushing.

This is useful as a way to manage a branch remotely through only the
API. For example in an automated release tool you can pull commits,
analyze, and update a release PR branch all remotely without needing to
clone or perform any local git operations.

Resolve #35538

---------

Co-authored-by: Rob Gonnella <rob.gonnella@papayapay.com>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2025-10-06 21:23:14 -07:00
..
admin split admin config settings templates to make it maintain easier (#35294) 2025-09-04 15:42:26 +00:00
api/packages/pypi
base Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
custom
devtest Refactor mail template and support preview (#34990) 2025-07-09 10:25:25 +08:00
explore Forks repository list page follow other repositories page (#34784) 2025-06-21 12:27:25 -07:00
mail Refactor and update mail templates (#35150) 2025-09-04 20:20:42 -07:00
org Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00
package Fix package link setting can only list limited repositories (#35394) 2025-09-11 01:50:17 +02:00
projects Improve project & label color picker and image scroll (#34971) 2025-07-06 23:37:26 +08:00
repo fix(webhook): prevent tag events from bypassing branch filters targets #35449 (#35567) 2025-10-03 08:51:57 +02:00
shared Fix context usages (#35348) 2025-08-27 11:00:01 +00:00
status Enforce two-factor auth (2FA: TOTP or WebAuthn) (#34187) 2025-04-28 15:31:59 -07:00
swagger feat: adds option to force update new branch in contents routes (#35592) 2025-10-06 21:23:14 -07:00
user Send email on Workflow Run Success/Failure (#34982) 2025-07-15 18:54:31 -07:00
webhook
home.tmpl Misc CSS fixes (#34638) 2025-06-07 19:57:07 +02:00
install.tmpl Fix various trivial frontend problems (#34263) 2025-04-24 09:11:54 +08:00
post-install.tmpl Add post-installation redirect based on admin account status (#34493) 2025-06-21 18:48:06 +00:00