morningman opened a new pull request, #71100:
URL: https://github.com/apache/doris/pull/71100

   ### 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: None
   PR Type: Build/CI/Chore
   
   Problem Summary:
   
   The repository needs to move branch protection to ASF rulesets while 
preserving its configured reviews and required checks. Add matching rulesets 
for master and the seven release refs. Keep the classic block during 
installation so the current master protection stays in force.
   
   ### Details
   
   - **Affected:** GitHub branch protection for master and seven release 
branches in `.asf.yaml`.
   - **Developer and release impact:** Master keeps the declared review policy 
and check contexts. Activating the release rulesets would begin enforcing the 
protections currently declared in YAML on release branches where GitHub reports 
no active branch protection.
   - **Behavior change:** The declared release branch approvals and checks 
become enforceable after ASF installs the rulesets.
   - **License and third-party:** None.
   - **Rollback:** Revert the ruleset addition before removing classic 
protection.
   
   ### 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
   
   GitHub reports no active branch protection on the seven release refs. The 
sampled PRs for branch-4.1 and branch-4.0 reported all their configured 
contexts. The samples for branch-4.2, branch-3.0, and branch-2.0 did not, and 
the sampled history for branch-3.1 and branch-2.1 contained no recent merged 
PR. Confirm the required contexts and intended release coverage before making 
this draft ready.
   
   ### Release note
   
   None
   
   ### Check List (For Author)
   
   - Behavior changed: Yes (see Details)
   - Does this need documentation: No
   - Pre-submission status: Partially verified: several release branches lack a 
recent pull request with all required check contexts.
   
   ### 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]

Reply via email to