From a4b7f0fc34b8fcfd8ff49628a6af921bf51c6761 Mon Sep 17 00:00:00 2001 From: "John Paul E. Balandan, CPA" Date: Mon, 21 Sep 2026 21:10:21 +0800 Subject: [PATCH] chore: enforce no merge commits in PRs --- .github/carson.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/carson.yml b/.github/carson.yml index 37cf003c5e9c..663c6553047c 100644 --- a/.github/carson.yml +++ b/.github/carson.yml @@ -4,6 +4,7 @@ version: 1 subscribers: - auto-labeler - conflicts-notifier + - no-merge-commits - no-response-closer - pr-title-linter - signed-commits @@ -38,6 +39,14 @@ settings: You may want to sync :arrows_counterclockwise: your branch with upstream! Ref: [Syncing Your Branch](https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#updating-your-branch) + no-merge-commits: + name: 'Carson / no-merge-commits' + treat_merge_commits_as: failure + exempt_branches: + - head: '^develop$' + base: '^master$' + - head: '^4\.\d+$' + base: '^develop$' no-response-closer: rules: - label: needs template