Skip to content

Commit

Permalink
Use more mergify features (#888)
Browse files Browse the repository at this point in the history
  • Loading branch information
christophfroehlich authored Dec 8, 2023
1 parent e8a127f commit 960e073
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ pull_request_rules:
branches:
- humble


- name: Backport to iron at reviewers discretion
conditions:
- base=master
Expand All @@ -21,7 +20,29 @@ pull_request_rules:
- name: Ask to resolve conflict
conditions:
- conflict
- author!=mergify
- author!=mergify[bot]
actions:
comment:
message: This pull request is in conflict. Could you fix it @{{author}}?

- name: Ask to resolve conflict for backports
conditions:
- conflict
- author=mergify[bot]
actions:
comment:
message: This pull request is in conflict. Could you fix it @bmagyar @dstogl @christophfroehlich?

- name: development targets master branch
conditions:
- base!=master
- author!=bmagyar
- author!=dstogl
- author!=christophfroehlich
- author!=mergify[bot]
actions:
comment:
message: |
@{{author}}, all pull requests must be targeted towards the `master` development branch.
Once merged into `master`, it is possible to backport to @{{base}}, but it must be in `master`
to have these changes reflected into new distributions.

0 comments on commit 960e073

Please sign in to comment.