Skip to content

[INFRA] Set up default rulesets for default and release branches#41

Merged
sergehuber merged 1 commit into
masterfrom
infrastructure-ruleset-bot/default-branch-protection
Jun 17, 2026
Merged

[INFRA] Set up default rulesets for default and release branches#41
sergehuber merged 1 commit into
masterfrom
infrastructure-ruleset-bot/default-branch-protection

Conversation

@asf-gitbox-commits

Copy link
Copy Markdown
Contributor

This Pull Request enables the repository to conform with the "sane default security settings" of the Apache Software Foundation by configuring a default branch ruleset that protects the default branch and any release branches.

Note that ~DEFAULT_BRANCH is a GitHub symbolic link to the current default branch (HEAD) of the repository and does not need changing.
If the managing project does not wish to set up these defaults, please close this Pull Request. Alternatively, the project may merge this Pull Request to apply the changes immediately.

If no action is taken, this Pull Request will be automatically merged by the Apache Infrastructure team on 2026-06-14 (30 days from now).

For any further information, please reach us on Slack or at: [email protected]

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Configures Apache Infrastructure’s .asf.yaml to apply GitHub rulesets that protect the default branch and release branches, aligning the repository with ASF “sane default security settings”.

Changes:

  • Add a GitHub branch ruleset targeting ~DEFAULT_BRANCH, release/*, and rel/*.
  • Disallow branch deletion and force-pushes, with a bypass for the root team.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .asf.yaml

@sergehuber sergehuber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the PR, I'll merge it now.

@sergehuber
sergehuber merged commit 876fc75 into master Jun 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants