diff --git a/.mergify.yml b/.mergify.yml index 708b453981..c828d155e7 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -1,7 +1,6 @@ pull_request_rules: - name: automatic merge when GitHub branch protection passes on master conditions: - - base=master - "#approved-reviews-by>=2" - status-success=Check Pull Request / check_title (pull_request) - status-success=Validate Gradle Wrapper / Validation (pull_request) @@ -14,7 +13,7 @@ pull_request_rules: method: squash - name: automatic merge when GitHub branch protection passes on master (flank-scripts) conditions: - - base=master + - files= - "#approved-reviews-by>=2" - status-success=Check Pull Request / check_title (pull_request) - status-success=Validate Gradle Wrapper / Validation (pull_request) @@ -22,6 +21,7 @@ pull_request_rules: - status-success=macOS-workflow / build (pull_request) - status-success=ubuntu-workflow / build (pull_request)flank-scripts-macos-workflow - status-success=flank-scripts-macos-workflow + - files~=^(!?flank-scripts/) actions: delete_head_branch: {} merge: