Skip to content

Commit f4dc163

Browse files
[INFRA] Set up default rulesets for default and release branches (#7872)
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: users@infra.apache.org
1 parent db117e1 commit f4dc163

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

.asf.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,19 @@ github:
4040
wiki: false
4141
projects: false
4242

43+
rulesets:
44+
- name: "Default Branch Protection"
45+
type: branch
46+
branches:
47+
includes:
48+
- "~DEFAULT_BRANCH"
49+
- "release/*"
50+
- "rel/*"
51+
excludes: []
52+
bypass_teams:
53+
- root
54+
restrict_deletion: true
55+
restrict_force_push: true
4356
notifications:
4457
commits: commits@paimon.apache.org
4558
issues: issues@paimon.apache.org

0 commit comments

Comments
 (0)