-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fda2a7b
commit bda3479
Showing
1 changed file
with
6 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,15 @@ | ||
# This mergify configuration is used only for backporting. | ||
# Please read the comments below to correctly configure the branches, labels, etc. | ||
# This mergify configuration is used for backporting only. This setup | ||
# will backport a PR after being approved if it has the label 'backport'. | ||
# Please see the comments below for configuring branches, labels, etc. | ||
# | ||
pull_request_rules: | ||
- name: backport to maintained branches | ||
conditions: | ||
- label=backport # create a label in your project called backport | ||
actions: | ||
backport: | ||
branches: # list branches that backporting can originate from | ||
branches: # the list of branches the pull request should be copied to. | ||
- main | ||
assignees: | ||
- "{{ author }}" # assign PR to the Author of the Backport Instigator | ||
assignees: # assign newly created backport PR to author | ||
- "{{ author }}" | ||
title: "`[BP: {{ destination_branch }} <- #{{ number }}]` {{ title }}" |