Skip to content

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

Closed
@Bisstocuz

Description

@Bisstocuz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions