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.git
The following commit(s) were added to refs/heads/master by this push:
new 8f4e5279fdd [chore](ci) Remove classic branch protection after ruleset
rollout (#71101)
8f4e5279fdd is described below
commit 8f4e5279fdd19772621c1bdcd42b5fed543d921b
Author: Mingyu Chen (Rayner) <[email protected]>
AuthorDate: Sat Nov 28 23:41:07 2026 +0800
[chore](ci) Remove classic branch protection after ruleset rollout (#71101)
### Background
ASF reads `.asf.yaml` from the default branch and applies classic branch
protection before reconciling GitHub rulesets. #71100 added replacement
rulesets for `master` and seven release branches.
### What problem does this PR solve?
Issue Number: None
Related PR: #71100 (added the replacement rulesets)
PR Type: Build/CI/Chore
Problem Summary:
Remove the classic branch protection block after GitHub enforces the
replacement rulesets. The pull request now contains only the cleanup on
top of #71100.
### Details
- **Affected:** GitHub branch protection for `master` and seven release
branches in `.asf.yaml`.
- **Developer and release impact:** Once the rollout is verified, the
active rulesets enforce the declared approvals and required checks.
- **License and third-party:** None.
- **Rollback:** Revert the cleanup to restore the classic protection
configuration.
### Testing
- Passed `asfyaml-validate --repo . --branch master` and `git diff
--check` on macOS.
- Confirmed the rebased diff only removes `github.protected_branches`
and keeps all six rulesets as merged in #71100.
### Notes for Reviewers
Confirm that GitHub applies the replacement approval and CI rules to all
eight branches before merging this cleanup. After ASF processes this PR,
confirm the rulesets are still active and classic protection has been
removed. [Repository rulesets](https://github.com/apache/doris/rules)
### Release note
None
### Check List (For Author)
- Behavior changed: No
- Does this need documentation: No
- Pre-submission status: Partially verified: live ruleset rollout and
full release CI coverage remain to be verified.
### AI Disclosure
- Tool: OpenAI Codex
- Generated: Rebase verification and PR description revision.
- Human review: Pending for this revision.
Co-authored-by: morningman <[email protected]>
---
.asf.yaml | 169 --------------------------------------------------------------
1 file changed, 169 deletions(-)
diff --git a/.asf.yaml b/.asf.yaml
index 0a34d3cb3e6..e8c3670fb75 100644
--- a/.asf.yaml
+++ b/.asf.yaml
@@ -255,175 +255,6 @@ github:
- context: Build Third Party Libraries (macOS)
- context: COMPILE (DORIS_COMPILE)
- protected_branches:
- # master, branch-4.2 and branch-4.1 use the migrated TeamCity contexts.
- # Performance reports results without gating these branches.
- master:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Check for secrets
- - Clang Formatter
- - CheckStyle
- - TeamCity/p0
- - TeamCity/nonconcurrent
- - TeamCity/external
- - TeamCity/cloud_p0
- - TeamCity/vault_p0
- - TeamCity/feut
- - TeamCity/beut
- - Build Third Party Libraries (Linux)
- - Build Third Party Libraries (macOS)
- - Build Third Party Libraries (macOS-arm64)
- - TeamCity/compile
- - code-review
- - TeamCity/cloudut
- required_pull_request_reviews:
- dismiss_stale_reviews: true
- require_code_owner_reviews: true
- required_approving_review_count: 1
- branch-4.2:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Clang Formatter
- - CheckStyle
- - Build Broker
- - TeamCity/feut
- - TeamCity/beut
- - TeamCity/cloudut
- - TeamCity/compile
- - TeamCity/p0
- - TeamCity/nonconcurrent
- - TeamCity/external
- - TeamCity/cloud_p0
- - TeamCity/vault_p0
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-4.1:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Clang Formatter
- - CheckStyle
- - Build Broker
- - TeamCity/feut
- - TeamCity/beut
- - TeamCity/cloudut
- - TeamCity/compile
- - TeamCity/p0
- - TeamCity/nonconcurrent
- - TeamCity/external
- - TeamCity/cloud_p0
- - TeamCity/vault_p0
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-4.0:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Clang Formatter
- - CheckStyle
- - Build Broker
- - FE UT (Doris FE UT)
- - BE UT (Doris BE UT)
- - Cloud UT (Doris Cloud UT)
- - COMPILE (DORIS_COMPILE)
- - P0 Regression (Doris Regression)
- - NonConcurrent Regression (nonConcurrent)
- - External Regression (Doris External Regression)
- - cloud_p0 (Doris Cloud Regression)
- - vault_p0 (Doris Cloud Regression)
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-3.1:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Clang Formatter
- - CheckStyle
- - Build Broker
- - Build Third Party Libraries (Linux)
- - FE UT (Doris FE UT)
- - BE UT (Doris BE UT)
- - Cloud UT (Doris Cloud UT)
- - COMPILE (DORIS_COMPILE)
- - P0 Regression (Doris Regression)
- - NonConcurrent Regression (nonConcurrent)
- - External Regression (Doris External Regression)
- - cloud_p0 (Doris Cloud Regression)
- - vault_p0 (Doris Cloud Regression)
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-3.0:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - Clang Formatter
- - CheckStyle
- - Build Broker
- - Build Third Party Libraries (Linux)
- - FE UT (Doris FE UT)
- - BE UT (Doris BE UT)
- - Cloud UT (Doris Cloud UT)
- - COMPILE (DORIS_COMPILE)
- - P0 Regression (Doris Regression)
- - NonConcurrent Regression (nonConcurrent)
- - External Regression (Doris External Regression)
- - cloud_p0 (Doris Cloud Regression)
- - vault_p0 (Doris Cloud Regression)
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-2.1:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - CheckStyle
- - Build Broker
- - Build Third Party Libraries (Linux)
- - COMPILE (DORIS_COMPILE)
- - External Regression (Doris External Regression)
- - FE UT (Doris FE UT)
- - BE UT (Doris BE UT)
- - P0 Regression (Doris Regression)
- required_pull_request_reviews:
- require_code_owner_reviews: true
- required_approving_review_count: 1
- dismiss_stale_reviews: true
- branch-2.0:
- required_status_checks:
- strict: false
- contexts:
- - License Check
- - CheckStyle
- - P0 Regression (Doris Regression)
- - External Regression (Doris External Regression)
- - FE UT (Doris FE UT)
- - BE UT (Doris BE UT)
- - Build Broker
- - Build Third Party Libraries (Linux)
- - Build Third Party Libraries (macOS)
- - COMPILE (DORIS_COMPILE)
- required_pull_request_reviews:
- dismiss_stale_reviews: true
- required_approving_review_count: 1
collaborators:
- Yukang-Lian
- Hastyshell
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]