Skip to content

Commit 1799b97

Browse files
Set up default protection ruleset for default and release branches (#88)
1 parent a08dc1d commit 1799b97

1 file changed

Lines changed: 22 additions & 9 deletions

File tree

.asf.yaml

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
staging:
2-
profile: ~
2+
profile:
33
autostage: preview/*
44

55
pelican:
6-
notify: commits@tooling.apache.org
7-
autobuild: preview/*
8-
target: asf-site
9-
whoami: main
6+
notify: commits@tooling.apache.org
7+
autobuild: preview/*
8+
target: asf-site
9+
whoami: main
1010

1111
github:
12-
description: "ASF Tooling Team Documentation Repository"
13-
homepage: https://tooling.apache.org/
12+
description: "ASF Tooling Team Documentation Repository"
13+
homepage: https://tooling.apache.org/
1414
custom_subjects:
1515
new_pr: "[PR] {title} ({repository})"
1616
close_pr: "Re: [PR] {title} ({repository})"
@@ -25,7 +25,20 @@ github:
2525
- website
2626
- pelican
2727

28+
rulesets:
29+
- name: "Default Branch Protection"
30+
type: branch
31+
branches:
32+
includes:
33+
- "~DEFAULT_BRANCH"
34+
- "release/*"
35+
- "rel/*"
36+
excludes: []
37+
bypass_teams:
38+
- root
39+
restrict_deletion: true
40+
restrict_force_push: true
2841
notifications:
29-
commits: commits@tooling.apache.org
30-
issues: dev@tooling.apache.org
42+
commits: commits@tooling.apache.org
43+
issues: dev@tooling.apache.org
3144
pullrequests: dev@tooling.apache.org

0 commit comments

Comments
 (0)