Skip to content
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 a branch protection option to choose required approval count #1164

Merged
merged 2 commits into from
Jan 6, 2024

Conversation

Kobzol
Copy link
Contributor

@Kobzol Kobzol commented Jan 6, 2024

Before this PR, the default value was implicitly 0 if bors is used or 1 if bors isn't used. However, for some repositories it's enough to require PRs, but approvals are not needed. Setting required-approvals = 0 will allow that (once it's implemented in sync-team).

r? @Mark-Simulacrum :)

Before this PR, the default value was implicitly 0 if bors is used or 1 if bors isn't used. However, for some repositories it's enough to require PRs, but approvals are not needed. Setting `required-approvals = 0` will allow that (once it's implemented in `sync-team`).
@Mark-Simulacrum Mark-Simulacrum merged commit 3c2148c into rust-lang:master Jan 6, 2024
1 check passed
@Kobzol Kobzol deleted the required-approvals branch January 6, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants