This is an automated email from the ASF dual-hosted git repository.
amaechler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/druid.git
The following commit(s) were added to refs/heads/master by this push:
new fcbfed51bd8 ci: require one approving review on master (#20796)
fcbfed51bd8 is described below
commit fcbfed51bd864311e37b0812044cc1393f5cf02d
Author: Andreas Maechler <[email protected]>
AuthorDate: Fri Oct 30 09:13:14 2026 -0600
ci: require one approving review on master (#20796)
* Require one approving review on master
Enforce the documented rule that every pull request needs a +1 from a
committer. Keep the existing protection on the old 0.x branches, since
.asf.yaml removes protection from branches it does not list.
* Drop protection entries for the old 0.x branches
* Point .asf.yaml docs link at the current README
* Use rulesets instead of protected_branches
Add the ASF Infra default protection ruleset for master, and require one
approving review in a separate ruleset that druid-committers can bypass.
* Protect release branches from force-push and deletion
Druid names release branches after the version, such as 39.0.0, so the
release/* and rel/* patterns from the ASF default would not match them.
* Explain why the review ruleset leaves force-push and deletion off
* Drop redundant restrict flags from the review ruleset
* Simplify rulesets using ASF defaults and tighten the release branch
pattern
---
.asf.yaml | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/.asf.yaml b/.asf.yaml
index 9c0a326a08c..140c4d20fec 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -1,9 +1,24 @@
-# note: documentation can be found here
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features
+# note: documentation can be found here
https://github.com/apache/infrastructure-asfyaml/blob/main/README.md
github:
description: 'Apache Druid: a high performance real-time analytics database.'
homepage: https://druid.apache.org/
+ rulesets:
+ - name: "Default Branch Protection"
+ branches:
+ includes:
+ - "~DEFAULT_BRANCH"
+ # release branches, such as 39.0.0
+ - "[0-9]*.[0-9]*.*"
+ bypass_teams:
+ - root
+ - name: "Require review"
+ bypass_teams:
+ - druid-committers
+ required_pull_request_reviews:
+ required_approving_review_count: 1
+
# Attempt to make the auto-generated github emails more easily readable in
email clients.
# Configuration adapted from
https://github.com/apache/plc4x/blob/develop/.asf.yaml.
custom_subjects:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]