summaryrefslogtreecommitdiff
path: root/.mergify
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-12-18 18:21:10 -0800
committerMichael Kinney <michael.d.kinney@intel.com>2020-12-22 14:51:09 -0800
commitab060128768b230543eca97c5d72a44f3e5ae2e5 (patch)
treeeb8951a1332c9a7baee9224eed3d3dd1e3f522be /.mergify
parentd21d2706761bede7db38929abc5613f3e71c64ba (diff)
downloadedk2-ab060128768b230543eca97c5d72a44f3e5ae2e5.zip
edk2-ab060128768b230543eca97c5d72a44f3e5ae2e5.tar.gz
edk2-ab060128768b230543eca97c5d72a44f3e5ae2e5.tar.bz2
.mergify: Enable Mergify for stable/* branches
https://bugzilla.tianocore.org/show_bug.cgi?id=3130 Cc: Sean Brogan <sean.brogan@microsoft.com> Cc: Bret Barkelew <Bret.Barkelew@microsoft.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to '.mergify')
-rw-r--r--.mergify/config.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.mergify/config.yml b/.mergify/config.yml
index 26583de..9774aaf 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: