1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/routers
Tim de2ad2e1b1
Make admins adhere to branch protection rules (#32248)
This introduces a new flag `BlockAdminMergeOverride` on the branch
protection rules that prevents admins/repo owners from bypassing branch
protection rules and merging without approvals or failing status checks.

Fixes #17131

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2024-10-23 12:39:43 +08:00
..
api Make admins adhere to branch protection rules (#32248) 2024-10-23 12:39:43 +08:00
common Refactor route path normalization (#31381) 2024-06-17 23:28:47 +00:00
install Save initial signup information for users to aid in spam prevention (#31852) 2024-09-09 17:05:16 -04:00
private Make git push options accept short name (#32245) 2024-10-12 05:42:10 +00:00
utils Refactor external URL detection (#29973) 2024-03-22 04:32:40 +08:00
web Make admins adhere to branch protection rules (#32248) 2024-10-23 12:39:43 +08:00
init.go Make oauth2 code clear. Move oauth2 provider code to their own packages/files (#32148) 2024-10-02 08:03:19 +08:00