Skip to content

Commit

Permalink
Per @evan-palmer, trying out mergify to maintain ROS2 branches
Browse files Browse the repository at this point in the history
  • Loading branch information
amarburg committed Aug 30, 2023
1 parent 775f749 commit 7bec559
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
pull_request_rules:
- name: backport to iron at reviewers discretion
conditions:
- base=main
- "label=backport-iron"
actions:
backport:
branches:
- iron

- 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 7bec559

Please sign in to comment.