[INFRA] Set up default rulesets for default and release branches#7872
Merged
JingsongLi merged 1 commit intoMay 24, 2026
Merged
Conversation
JingsongLi
reviewed
May 24, 2026
Contributor
JingsongLi
left a comment
There was a problem hiding this comment.
This is an ASF infrastructure PR for setting up default branch rulesets. It adds branch protection via .asf.yaml and will auto-merge on 2026-06-14 if no action is taken.
The change is minimal (+13 lines to .asf.yaml) and follows standard ASF security defaults. No concerns from a code perspective — this is infra governance.
Contributor
|
+1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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_BRANCHis 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: users@infra.apache.org