0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 20:34:07 +01:00
gitea/templates/repo/settings
Jimmy Praet 5d3fdd1212
Add branch protection setting for ignoring stale approvals (#28498)
Fixes #27114.

* In Gitea 1.12 (#9532), a "dismiss stale approvals" branch protection
setting was introduced, for ignoring stale reviews when verifying the
approval count of a pull request.
* In Gitea 1.14 (#12674), the "dismiss review" feature was added.
* This caused confusion with users (#25858), as "dismiss" now means 2
different things.
* In Gitea 1.20 (#25882), the behavior of the "dismiss stale approvals"
branch protection was modified to actually dismiss the stale review.

For some users this new behavior of dismissing the stale reviews is not
desirable.

So this PR reintroduces the old behavior as a new "ignore stale
approvals" branch protection setting.

---------

Co-authored-by: delvh <dev.lh@web.de>
2024-01-15 07:20:01 +00:00
..
webhook
actions.tmpl
branches.tmpl
collaboration.tmpl
deploy_keys.tmpl
githook_edit.tmpl
githooks.tmpl
layout_footer.tmpl
layout_head.tmpl
lfs_file_find.tmpl
lfs_file.tmpl
lfs_locks.tmpl
lfs_pointers.tmpl
lfs.tmpl
nav.tmpl
navbar.tmpl
options.tmpl
protected_branch.tmpl Add branch protection setting for ignoring stale approvals (#28498) 2024-01-15 07:20:01 +00:00
push_mirror_sync_modal.tmpl
runner_edit.tmpl
secrets.tmpl
tags.tmpl