Skip to content

Commit c2e8ef0

Browse files
Set up default protection ruleset for default and release branches
1 parent 08f99b1 commit c2e8ef0

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
@@ -23,14 +23,27 @@ github:
2323
- image-processing
2424
- apache
2525

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

0 commit comments

Comments
 (0)