morningman opened a new pull request, #71101: URL: https://github.com/apache/doris/pull/71101
### Background ASF reads `.asf.yaml` from the default branch and applies GitHub repository settings. The branch protection section declares the approvals and CI checks required to merge changes into specific branches. ### What problem does this PR solve? Issue Number: None Related PR: #71100 (installs the rulesets) PR Type: Build/CI/Chore Problem Summary: After the new rulesets are active, remove the classic branch protection configuration. The rulesets carry the same branch-specific reviews and required checks. ### Details - **Change map:** The stacked diff adds the rulesets and removes the classic branch entries in `.asf.yaml`. Only the removal is specific to this PR. - **Affected:** GitHub branch protection for master and seven release branches in `.asf.yaml`. - **Developer and release impact:** Once the rollout is verified, contributors continue to use the installed rulesets for reviews and status checks. - **License and third-party:** None. - **Rollback:** Revert this cleanup to restore the classic protection configuration. ### Testing - Ran the ASF `asfyaml-validate` command locally on macOS. - Compared the normalized ruleset payload with the classic configuration for all eight branches, including check contexts, strictness and code-owner approval. ### Notes for Reviewers Merge #71100 and verify that GitHub applies the expected rules to each affected branch before making this draft ready. ASF removes classic branch protection before it reconciles rulesets during a configuration update. Verify the rulesets first to keep master protected throughout the migration. ### Release note None ### Check List (For Author) - Behavior changed: No - Does this need documentation: No - Pre-submission status: Not ready: the preceding ruleset rollout and live enforcement checks are pending. ### AI Disclosure - Tool: OpenAI Codex - Generated: Ruleset configuration, local validation script, and PR description. - Human review: Review of this draft has not been recorded. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
