Skip to content

Commit a9f294b

Browse files
Set up default protection ruleset for default and release branches (#773)
1 parent 05e376a commit a9f294b

1 file changed

Lines changed: 18 additions & 4 deletions

File tree

.asf.yaml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,22 @@
1414
# limitations under the License.
1515

1616
notifications:
17-
commits: commits@rocketmq.apache.org
18-
issues: commits@rocketmq.apache.org
17+
commits: commits@rocketmq.apache.org
18+
issues: commits@rocketmq.apache.org
1919
pullrequests: commits@rocketmq.apache.org
20-
jobs: commits@rocketmq.apache.org
21-
discussions: dev@rocketmq.apache.org
20+
jobs: commits@rocketmq.apache.org
21+
discussions: dev@rocketmq.apache.org
22+
github:
23+
rulesets:
24+
- name: "Default Branch Protection"
25+
type: branch
26+
branches:
27+
includes:
28+
- "~DEFAULT_BRANCH"
29+
- "release/*"
30+
- "rel/*"
31+
excludes: []
32+
bypass_teams:
33+
- root
34+
restrict_deletion: true
35+
restrict_force_push: true

0 commit comments

Comments
 (0)