Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(Mergify): Add initial config #421

Merged
merged 1 commit into from
Feb 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/.mergify.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
pull_request_rules:
- name: backport to iron at reviewers discretion
conditions:
- base=rolling
- label=backport-iron
actions:
backport:
branches:
- iron

- name: backport to humble at reviewers discretion
conditions:
- base=rolling
- label=backport-humble
actions:
backport:
branches:
- humble

- name: delete head branch after merge
conditions:
- merged
actions:
delete_head_branch:

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

# TODO enable automatic merge of backports
# https://docs.mergify.com/workflow/actions/backport/#combining-automatic-merge