Skip to content

Commit

Permalink
chore(ci): forward port setting in the mergify.yml (#3922)
Browse files Browse the repository at this point in the history
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->
Closes #3917

## Overview

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->
It modifies mergify.yml.
By adding the `forwardport:main` tag to the v1.x or v2.x branch, it can
forward-port it to the main branch.
  • Loading branch information
kobakaku authored Sep 30, 2024
1 parent 66e5511 commit 21e78b9
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,19 @@ pull_request_rules:
backport:
branches:
- v2.x
- name: forward-port patches to main branch (v1.x)
conditions:
- base=v1.x
- label=forwardport:main
actions:
backport:
branches:
- main
- name: forward-port patches to main branch (v2.x)
conditions:
- base=v2.x
- label=forwardport:main
actions:
backport:
branches:
- main

0 comments on commit 21e78b9

Please sign in to comment.