Skip to content

Commit b4b9570

Browse files
Set up default protection ruleset for default and release branches
1 parent ab2b19f commit b4b9570

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
@@ -17,14 +17,27 @@ github:
1717
description: "Apache Commons Net"
1818
homepage: https://commons.apache.org/net/
1919

20+
rulesets:
21+
- name: "Default Branch Protection"
22+
type: branch
23+
branches:
24+
includes:
25+
- "~DEFAULT_BRANCH"
26+
- "release/*"
27+
- "rel/*"
28+
excludes: []
29+
bypass_teams:
30+
- root
31+
restrict_deletion: true
32+
restrict_force_push: true
2033
notifications:
21-
commits: commits@commons.apache.org
22-
issues: issues@commons.apache.org
23-
pullrequests: issues@commons.apache.org
24-
jira_options: link label
25-
jobs: notifications@commons.apache.org
34+
commits: commits@commons.apache.org
35+
issues: issues@commons.apache.org
36+
pullrequests: issues@commons.apache.org
37+
jira_options: link label
38+
jobs: notifications@commons.apache.org
2639
# commits_bot_dependabot: dependabot@commons.apache.org
27-
issues_bot_dependabot: dependabot@commons.apache.org
28-
pullrequests_bot_dependabot: dependabot@commons.apache.org
29-
issues_bot_codecov-commenter: notifications@commons.apache.org
30-
pullrequests_bot_codecov-commenter: notifications@commons.apache.org
40+
issues_bot_dependabot: dependabot@commons.apache.org
41+
pullrequests_bot_dependabot: dependabot@commons.apache.org
42+
issues_bot_codecov-commenter: notifications@commons.apache.org
43+
pullrequests_bot_codecov-commenter: notifications@commons.apache.org

0 commit comments

Comments
 (0)