Skip to content
This repository has been archived by the owner on Jun 23, 2021. It is now read-only.

Update template mergify rules #126

Merged
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
11 changes: 8 additions & 3 deletions templates/.mergify.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@
pull_request_rules:
- name: automatic merge on CI success require review
- name: Merge PRs that are ready
conditions:
- status-success=Travis CI - Pull Request
- status-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
actions:
merge:
method: squash
strict: smart

- name: automatic merge on CI success for TemplateControl
- name: Merge TemplateControl's PRs that are ready
conditions:
- status-success=Travis CI - Pull Request
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
- label!=status:block-merge
actions:
merge:
method: squash
strict: smart

- name: delete branch after merge
- name: Delete the PR branch after merge
conditions:
- merged
actions:
Expand Down