Skip to content

Commit

Permalink
add .mergify/config.yml to automatic backport support. (#68) (#70)
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoya Fujita <[email protected]>
(cherry picked from commit f4d31d2)

Co-authored-by: Tomoya Fujita <[email protected]>
  • Loading branch information
mergify[bot] and fujitatomoya authored Dec 28, 2024
1 parent 5acabb9 commit b72693a
Showing 1 changed file with 49 additions and 0 deletions.
49 changes: 49 additions & 0 deletions .mergify/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
pull_request_rules:
- name: automatic backport to all supported distribution
description: |
This rule backports a PR to all supported distribution branches when it is merged.
conditions:
- base=rolling
- merged
actions:
backport:
branches:
- jazzy
- humble

- name: backport at reviewers discretion
description: |
This rule backports a PR to all supported distribution branches when it is labeled.
conditions:
- base=rolling
- "label=backport-all"
- merged
actions:
backport:
branches:
- jazzy
- humble

- name: backport to jazzy at reviewers discretion
description: |
This rule backports a PR to the jazzy distribution branch when it is labeled.
conditions:
- base=rolling
- "label=backport-jazzy"
- merged
actions:
backport:
branches:
- jazzy

- name: backport to humble at reviewers discretion
description: |
This rule backports a PR to the humble distribution branch when it is labeled.
conditions:
- base=rolling
- "label=backport-humble"
- merged
actions:
backport:
branches:
- humble

0 comments on commit b72693a

Please sign in to comment.