This is an automated email from the ASF dual-hosted git repository. ronny pushed a commit to branch big-r81-ext-branch-protect in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 4b1e3ba480ae49ac19a76c6c53f568f1a88f5c3a Author: Ronny Berndt <ro...@apache.org> AuthorDate: Fri Sep 22 12:41:05 2023 +0200 Extending branch protection rules of .asf.yaml Add additional branch checks before merging a PR. 1. Require a linear history for better redability. 2. Disable "merge commits". 3. Require at least one approval. --- .asf.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index 5ecb8c5fe..930f3c269 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -20,13 +20,21 @@ github: enabled_merge_buttons: squash: true rebase: true - merge: true + merge: false protected_branches: main: required_status_checks: strict: true contexts: - continuous-integration/jenkins/pr-merge + required_pull_request_reviews: + # Set to true if you want to automatically dismiss approving reviews when someone pushes a new commit. + dismiss_stale_reviews: false + # Specifies the number of reviewers required to approve pull requests. + # Use a number between 1 and 6 or 0 to not require reviewers. + required_approving_review_count: 1 + # squash or rebase must be allowed in the repo for this setting to be set to true. + required_linear_history: true fdbmain: required_status_checks: strict: true