Skip to content

Commit 7f24daf

Browse files
ci: implement mergify (#16)
Co-authored-by: Justin Tieri <[email protected]>
1 parent f9fc72b commit 7f24daf

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/mergify.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# This mergify configuration is used for backporting only. This setup
2+
# will backport a PR after being approved if it has the label 'backport'.
3+
# Please see the comments below for configuring branches, labels, etc.
4+
#
5+
pull_request_rules:
6+
- name: backport to maintained branches
7+
conditions:
8+
- label=backport # create a label in your project called backport
9+
actions:
10+
backport:
11+
branches: # the list of branches the pull request should be copied to.
12+
- main
13+
assignees: # assign newly created backport PR to author
14+
- "{{ author }}"
15+
title: "`[BP: {{ destination_branch }} <- #{{ number }}]` {{ title }}"

0 commit comments

Comments
 (0)