From 04e058fc63f103fc8b19a2bfea2c04121a926992 Mon Sep 17 00:00:00 2001 From: Racci Date: Thu, 2 Oct 2025 16:56:45 +1000 Subject: [PATCH] ci(Mergify): configuration update Signed-off-by: Racci --- .mergify.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.mergify.yml b/.mergify.yml index 1b075b94..9d79662f 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -50,3 +50,18 @@ pull_request_rules: actions: queue: priority_rules: [] +merge_protections: + - name: Enforce conventional commit + description: Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/ + if: + - base = master + success_conditions: + - "title ~= + ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\\(.+\ + \\))?:" + - name: Do not merge outdated PRs + description: Make sure PRs are almost up to date before merging + if: + - base = master + success_conditions: + - "#commits-behind <= 10"