Skip to content

Commit

Permalink
Added mergify configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
evan-palmer committed Sep 23, 2024
1 parent ad612dc commit 98c3e47
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
pull_request_rules:
- name: backport to iron at reviewers' discretion
conditions:
- base=main
- "label=backport-iron"
actions:
backport:
branches:
- iron

- name: backport to humble at reviewers' discretion
conditions:
- base=main
- "label=backport-humble"
actions:
backport:
branches:
- humble

- name: backport to jazzy at reviewers' discretion
conditions:
- base=main
- "label=backport-jazzy"
actions:
backport:
branches:
- jazzy

- name: ask to resolve conflict
conditions:
- conflict
- author!=mergify[bot]
actions:
comment:
message: This pull request is in conflict. Could you fix it @{{author}}?

- name: development targets main branch
conditions:
- base!=main
- author!=mergify[bot]
actions:
comment:
message: |
Please target the `main` branch for development, we will backport the changes to {{base}} for you if approved and if they don't break API.

0 comments on commit 98c3e47

Please sign in to comment.