You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We observe that user can add more commits to existing approved PR. After that PR remains approved and can be merged despite new commits not being reviewed.
Steps to reproduce:
fork repo
commit to fork
create PR
get your PR approved
add more commits to fork
merge
This way only first commit was reviewed but all commits can be merged. I suspect that gitea should at least inform that some commits were not reviewed.
The text was updated successfully, but these errors were encountered:
I think this should be the standard behaviour, but a new setting for branch protection could be added. In Github this is called "Dismiss stale pull request approvals when new commits are pushed."
[x]
):Description
We observe that user can add more commits to existing approved PR. After that PR remains approved and can be merged despite new commits not being reviewed.
Steps to reproduce:
This way only first commit was reviewed but all commits can be merged. I suspect that gitea should at least inform that some commits were not reviewed.
The text was updated successfully, but these errors were encountered: