You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/models/git
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>
5 months ago
..
branch.go Rename head branch of pull requests when renaming a branch (#31759) 8 months ago
branch_list.go Fix branch order (#31174) 10 months ago
branch_test.go Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 1 year ago
commit_status.go Fix Null Pointer error for CommitStatusesHideActionsURL (#31731) 8 months ago
commit_status_summary.go Fix commitstatus summary (#30431) 12 months ago
commit_status_test.go Hide the "Details" link of commit status when the user cannot access actions (#30156) 8 months ago
lfs.go Remove GetByBean method because sometimes it's danger when query condition parameter is zero and also introduce new generic methods (#28220) 1 year ago
lfs_lock.go Show lock owner instead of repo owner on LFS setting page (#31788) 8 months ago
lfs_lock_list.go Show lock owner instead of repo owner on LFS setting page (#31788) 8 months ago
main_test.go make writing main test easier (#27270) 2 years ago
protected_banch_list_test.go Fix branch protection priority (#24045) 2 years ago
protected_branch.go Make admins adhere to branch protection rules (#32248) 5 months ago
protected_branch_list.go Start to migrate from `util.OptionalBool` to `optional.Option[bool]` (#29329) 1 year ago
protected_branch_test.go Supports wildcard protected branch (#20825) 2 years ago
protected_tag.go Add tag protection via rest api #17862 (#31295) 10 months ago
protected_tag_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago