From b559849610805dafc5a978d5844461b765212e02 Mon Sep 17 00:00:00 2001 From: Ronny Berndt Date: Sun, 5 Nov 2023 14:25:11 +0100 Subject: [PATCH] Extend branch protection of main branch Adding strict status check and at least one approval is needed. --- .asf.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.asf.yaml b/.asf.yaml index be0b311..273b5ad 100644 --- a/.asf.yaml +++ b/.asf.yaml @@ -14,5 +14,13 @@ github: - network-server - javascript protected_branches: - main + main: + required_status_checks: + strict: true + 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