aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Magyar2019-11-18 13:02:05 -0700
committerGitHub2019-11-18 13:02:05 -0700
commitc0fe111d4e18f3f132f1f95d76ad0753cef02744 (patch)
tree51b4a906f004225f7c83aa401cce27a7c5fbbc58
parent5e6d985b27e283868bc2b990c8b6a5888c74422a (diff)
parentf817260a6bd6b3f5681ef14eb4a9a448237201e3 (diff)
Merge pull request #1231 from freechipsproject/automate-backports
Use Mergify to automate backporting to 1.2.x
-rw-r--r--.mergify.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.mergify.yml b/.mergify.yml
index f23fcdfc..1dd36b18 100644
--- a/.mergify.yml
+++ b/.mergify.yml
@@ -19,3 +19,23 @@ pull_request_rules:
method: squash
strict: smart
strict_method: merge
+
+ - name: backport to 1.2.x
+ conditions:
+ - merged
+ - base=master
+ - milestone=1.2.X
+ actions:
+ backport:
+ branches:
+ - 1.2.x
+ label:
+ add: [Backported]
+
+ - name: label Mergify backport PR
+ conditions:
+ - base=1.2.x
+ - body~=This is an automated backport of pull request \#\d+ done by Mergify.io
+ actions:
+ label:
+ add: [Backport]