Skip to content

Commit 81af068

Browse files
authored
chore: enforce no merge commits in PRs (#10576)
1 parent c21d575 commit 81af068

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎.github/carson.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ version: 1
44
subscribers:
55
- auto-labeler
66
- conflicts-notifier
7+
- no-merge-commits
78
- no-response-closer
89
- pr-title-linter
910
- signed-commits
@@ -38,6 +39,14 @@ settings:
3839
You may want to sync :arrows_counterclockwise: your branch with upstream!
3940
4041
Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch)
42+
no-merge-commits:
43+
name: 'Carson / no-merge-commits'
44+
treat_merge_commits_as: failure
45+
exempt_branches:
46+
- head: '^develop$'
47+
base: '^master$'
48+
- head: '^4\.\d+$'
49+
base: '^develop$'
4150
no-response-closer:
4251
rules:
4352
- label: needs template

0 commit comments

Comments
 (0)