Skip to content

Add release-branch protections to asf.yaml #4579

Description

@Yicong-Huang

Task Summary

Add asf.yaml rules to protect Texera release branches.

Priority

P1 – High

Task Type

  • Code Implementation
  • Documentation
  • Refactor / Cleanup
  • Testing / QA
  • DevOps / Deployment

Activity

  1. added
    config
    ci
    on Apr 30, 2026
  2. changed the title [-]Create ASF release-branch protections in asf.yaml[/-] [+]Add release-branch protections to asf.yaml[/+] on Apr 30, 2026
  3. added a commit that references this issue on Apr 30, 2026
    1045997
  4. Yicong-Huang commented on May 1, 2026

    @Yicong-Huang
    ContributorAuthor

    Reopening: the rulesets-based implementation from #4582 is being reverted in #4616 to unblock #4600 (Required Checks aggregator). Will revisit once release branches pick up the new workflow.

  5. Yicong-Huang commented on Jun 7, 2026

    @Yicong-Huang
    ContributorAuthor

    Resolved by #5080 (INFRA bot's Set up default rulesets for default and release branches), which installed a Default Branch Protection ruleset covering release branches. Verified live:

    ```
    $ gh api repos/apache/texera/rulesets/16663487
    --jq '{name, enforcement, includes: .conditions.ref_name.include, rules: [.rules[].type]}'
    {
    "name": "Default Branch Protection",
    "enforcement": "active",
    "includes": ["~DEFAULT_BRANCH", "refs/heads/release/", "refs/heads/rel/"],
    "rules": ["deletion", "non_fast_forward"]
    }
    ```

    So release branches now have deletion + non-fast-forward protection at the ruleset level. Closing. See also #4603 for the related opt-in chain (#5036 → #5080 → #5139).

  6. added 3 commits that reference this issue on Jun 22, 2026
    17c9f50
    9f85f29
    f6d34f6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

ciconfig

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions