From 9b8aa7a2fb4cfc2441a2e10750b879061565ef8b Mon Sep 17 00:00:00 2001 From: brandon s allbery kf8nh Date: Sat, 22 Jun 2024 17:31:29 -0400 Subject: [PATCH] block merging if PR has a 'blocked:' label --- .github/mergify.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/mergify.yml b/.github/mergify.yml index 8b0a60ef8c6..b3d13f95c7c 100644 --- a/.github/mergify.yml +++ b/.github/mergify.yml @@ -28,6 +28,7 @@ pull_request_rules: - label=merge me - label=merge delay passed - '#approved-reviews-by>=2' + - '-label~=^blocked:' # merge+squash strategy - actions: @@ -39,6 +40,7 @@ pull_request_rules: - label=squash+merge me - label=merge delay passed - '#approved-reviews-by>=2' + - '-label~=^blocked:' # merge+no rebase strategy - actions: @@ -50,6 +52,7 @@ pull_request_rules: - label=merge+no rebase - label=merge delay passed - '#approved-reviews-by>=2' + - '-label~=^blocked:' # merge strategy for release branches - actions: @@ -65,6 +68,7 @@ pull_request_rules: - base!=master - -body~=backport - '#approved-reviews-by>=2' + - '-label~=^blocked:' # merge+squash strategy for release branches - actions: @@ -80,6 +84,7 @@ pull_request_rules: - label=squash+merge me - -body~=backport - '#approved-reviews-by>=2' + - '-label~=^blocked:' # merge strategy for backports: require 1 approver instead of 2 - actions: @@ -92,6 +97,7 @@ pull_request_rules: - base!=master - body~=backport - '#approved-reviews-by>=1' + - '-label~=^blocked:' # merge+squash strategy for backports: require 1 approver instead of 2 - actions: @@ -103,6 +109,7 @@ pull_request_rules: - base!=master - body~=backport - '#approved-reviews-by>=1' + - '-label~=^blocked:' # backports should be labeled as such - actions: