[edk2-devel] [Patch 1/1] .mergify: Enable Mergify for stable/* branches

Michael D Kinney michael.d.kinney at intel.com
Sat Dec 19 02:47:15 UTC 2020


https://bugzilla.tianocore.org/show_bug.cgi?id=3130

Cc: Sean Brogan <sean.brogan at microsoft.com>
Cc: Bret Barkelew <Bret.Barkelew at microsoft.com>
Cc: Liming Gao <gaoliming at byosoft.com.cn>
Signed-off-by: Michael D Kinney <michael.d.kinney at intel.com>
---
 .mergify/config.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.mergify/config.yml b/.mergify/config.yml
index 26583de0f631..9774aaf49774 100644
--- a/.mergify/config.yml
+++ b/.mergify/config.yml
@@ -16,7 +16,7 @@
 # * This file must be checked into the 'default' branch of a repo.  Copies
 #   of this file on other branches of a repo are ignored by Mergify.
 #
-# Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2019 - 2020, Intel Corporation. All rights reserved.<BR>
 # SPDX-License-Identifier: BSD-2-Clause-Patent
 #
 # https://github.com/apps/mergify
@@ -28,7 +28,7 @@ pull_request_rules:
 
   - name: Automatically merge a PR when all required checks pass and 'push' label is present
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - label=push
       - author=@tianocore/edk-ii-maintainers
       - status-success=tianocore.PatchCheck
@@ -41,7 +41,7 @@ pull_request_rules:
 
   - name: Automatically close a PR when all required checks pass and 'push' label is not present
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - -label=push
       - -closed
       - status-success=tianocore.PatchCheck
@@ -55,7 +55,7 @@ pull_request_rules:
 
   - name: Post a comment on a PR that can not be merged due to a merge conflict
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - conflict
     actions:
       comment:
@@ -63,7 +63,7 @@ pull_request_rules:
 
   - name: Automatically close a PR that fails the EDK II Maintainers membership check and 'push' label is present
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - label=push
       - -author=@tianocore/edk-ii-maintainers
     actions:
@@ -72,7 +72,7 @@ pull_request_rules:
 
   - name: Post a comment on a PR if PatchCheck fails
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - status-failure=tianocore.PatchCheck
     actions:
       comment:
@@ -80,7 +80,7 @@ pull_request_rules:
 
   - name: Post a comment on a PR if Ubuntu GCC5 fails
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - status-failure=Ubuntu GCC5 PR
       - status-success=Ubuntu GCC5 PR (FAILED)
     actions:
@@ -89,7 +89,7 @@ pull_request_rules:
 
   - name: Post a comment on a PR if Windows VS2019 fails
     conditions:
-      - base=master
+      - base~=(^master|^stable/)
       - status-failure=Windows VS2019 PR
       - status-success=Windows VS2019 PR (FAILED)
     actions:
-- 
2.29.2.windows.2



-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#69247): https://edk2.groups.io/g/devel/message/69247
Mute This Topic: https://groups.io/mt/79076701/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list