Skip to content

Commit

Permalink
Adjust mergify conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mkurz committed Apr 14, 2022
1 parent 4427545 commit aead25a
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,37 @@ queue_rules:
- name: default
conditions:
# Conditions to get out of the queue (= merged)
- check-success=Travis CI - Pull Request
- check-success=typesafe-cla-validator
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 8$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 8$

pull_request_rules:
- name: Merge PRs that are ready
conditions:
- check-success=Travis CI - Pull Request
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 17$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 11$
- check-success~=^Tests / Scala 2\.12\.(\d+) & JDK 8$
- check-success~=^Tests / Scala 2\.13\.(\d+) & JDK 8$
- check-success=typesafe-cla-validator
- "#approved-reviews-by>=1"
- "#review-requested=0"
- "#changes-requested-reviews-by=0"
- label!=status:block-merge
- label=status:merge-when-green
actions:
queue:
method: merge
name: default

- name: Delete the PR branch after merge
conditions:
- merged
actions:
delete_head_branch: {}
label:
remove: [ "status:merge-when-green" ]

0 comments on commit aead25a

Please sign in to comment.