This is an automated email from the ASF dual-hosted git repository.
hello-stephen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris-website.git
The following commit(s) were added to refs/heads/master by this push:
new f1488c82cb6 [Chore] Move existing branch requirements into ASF
rulesets (#4726)
f1488c82cb6 is described below
commit f1488c82cb6cfe08617622cec6c8358f2ff03145
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Fri Nov 27 20:53:25 2026 +0800
[Chore] Move existing branch requirements into ASF rulesets (#4726)
## Changes
Add a master ruleset for the existing approval policy, last-push
approval, and three required checks. The asf-site ruleset keeps the
force-push behavior used by website publishing. Keep classic branch
protection in place while ASF installs the ruleset.
## Verification
Validated with `asfyaml-validate` and compared the ruleset's branch
scope, checks, and review requirements with the existing configuration.
Co-authored-by: morningman <[email protected]>
---
.asf.yaml | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/.asf.yaml b/.asf.yaml
index a4e9511f873..183dcbb4629 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -50,6 +50,23 @@ github:
# deploy key) because the built-in Actions app cannot be a bypass actor.
restrict_deletion: true
restrict_force_push: false
+
+ - name: Master branch protection
+ type: branch
+ branches:
+ includes:
+ - master
+ restrict_deletion: true
+ restrict_force_push: true
+ required_pull_request_reviews:
+ required_approving_review_count: 1
+ dismiss_stale_reviews: true
+ require_last_push_approval: true
+ required_status_checks_strict: false
+ required_status_checks:
+ - Build Check
+ - check-md-links
+ - check-file-sizes
enabled_merge_buttons:
squash: true
merge: false
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]