This is an automated email from the ASF dual-hosted git repository.
vernedeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/inlong-website.git
The following commit(s) were added to refs/heads/master by this push:
new bc46c98bc31 [INLONG-1122][Workflow] Require at least two reviewers
approve before merging (#1123)
bc46c98bc31 is described below
commit bc46c98bc310f2c555a3f9fd8bf5c53bcd928739
Author: vernedeng <[email protected]>
AuthorDate: Wed Feb 12 14:09:51 2025 +0800
[INLONG-1122][Workflow] Require at least two reviewers approve before
merging (#1123)
Co-authored-by: vernedeng <[email protected]>
---
.asf.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
index 2587cef6a35..7a29ee1472d 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -11,6 +11,15 @@ github:
merge: false
# disable rebase button:
rebase: false
+ # add protected branches strategy
+ protected_branches:
+ master:
+ required_status_checks:
+ # strict means "Require branches to be up to date before merging"
+ strict: true
+ required_pull_request_reviews:
+ dismiss_stale_reviews: true
+ required_approving_review_count: 2
# Web site staging services:
staging: