-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add an option to disallow commiters to approve pull request #7072
Comments
This has been implemented in branch protection UI to just allow who can approve. |
Is this for 1.9? I can't find a changelog. |
Did you mean the author of a pull request should not approve himself? |
Repository at try.gitea.io: https://try.gitea.io/prauthor/ApprovalTest The user Scenario: What I expect in this scenario, is that So just to be clear: |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 weeks. Thank you for your contributions. |
It seems this is still an existing issue in 1.17.1 and I couldn't find any way to configure the behavior. GitHub, for instance, handles this correctly: Neither the committer, nor the co-author(s) can approve the PR. |
If there are multiple people committing into a branch which is then used as a source for a pull request it is currently possible for reviewers, who also committed, to approve the changes.
I think it would be valuable if the branch protection had a setting to disallow approval by commiters within the PR, as it is currently the default to disallow approval by the PR author.
The text was updated successfully, but these errors were encountered: