Skip to content

Commit ac132ab

Browse files
chore(infra): Set up default protection ruleset for default and release branches (#1496)
1 parent e63ad6a commit ac132ab

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

.asf.yaml

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,28 @@ github:
4141
merge: false
4242
rebase: false
4343

44+
rulesets:
45+
- name: "Default Branch Protection"
46+
type: branch
47+
branches:
48+
includes:
49+
- "~DEFAULT_BRANCH"
50+
- "release/*"
51+
- "rel/*"
52+
excludes: []
53+
bypass_teams:
54+
- root
55+
restrict_deletion: true
56+
restrict_force_push: true
4457
notifications:
45-
commits: commits@cordova.apache.org
46-
issues: issues@cordova.apache.org
47-
pullrequests_status: issues@cordova.apache.org
58+
commits: commits@cordova.apache.org
59+
issues: issues@cordova.apache.org
60+
pullrequests_status: issues@cordova.apache.org
4861
pullrequests_comment: issues@cordova.apache.org
4962

5063
staging:
51-
profile: ~
52-
whoami: asf-staging
64+
profile:
65+
whoami: asf-staging
5366

5467
publish:
55-
whoami: asf-site
68+
whoami: asf-site

0 commit comments

Comments
 (0)