branch protection rules will not cancel old approvals after new commits submited #11216

Closed
opened 2025-11-02 09:31:05 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @Bisstocuz on GitHub (Jul 13, 2023).

Description

I set up branch protection rules half a month ago and checked the option "Dismiss stale pull request approvals when new commits are pushed", but this option did not take effect. Old approvals are not be canceled when there are new commits.

Gitea Version

1.19.4

Can you reproduce the bug on the Gitea demo site?

No

Log Gist

No response

Screenshots

2a2e706d9c7394a883459b63fe5a9160
cd06ce2e6bd41fdfd001c608ccba8bbd

Git Version

No response

Operating System

No response

How are you running Gitea?

docker compose

Database

MySQL

Originally created by @Bisstocuz on GitHub (Jul 13, 2023). ### Description I set up branch protection rules half a month ago and checked the option "Dismiss stale pull request approvals when new commits are pushed", but this option did not take effect. Old approvals are not be canceled when there are new commits. ### Gitea Version 1.19.4 ### Can you reproduce the bug on the Gitea demo site? No ### Log Gist _No response_ ### Screenshots ![2a2e706d9c7394a883459b63fe5a9160](https://github.com/go-gitea/gitea/assets/42398278/6c32dde2-c40d-4733-a941-56a4d77b6c81) ![cd06ce2e6bd41fdfd001c608ccba8bbd](https://github.com/go-gitea/gitea/assets/42398278/7cd5dfd5-0195-4ded-9913-b862e17ecfc1) ### Git Version _No response_ ### Operating System _No response_ ### How are you running Gitea? docker compose ### Database MySQL
GiteaMirror added the type/bug label 2025-11-02 09:31:05 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#11216