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): upgrade configuration to current format #417

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
27 changes: 13 additions & 14 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
queue_rules:
- name: default
conditions:
queue_conditions:
- and:
- or:
- author~=^dependabot(|-preview)\[bot\]$
- author=scala-steward
- base=master
- check-success~=build \(2.13.\d+\)
- check-success~=build \(3.\d+.\d+\)
merge_conditions:
# Conditions to get out of the queue (= merged)
- check-success~=build \(2.13.\d+\)
- check-success~=build \(3.\d+.\d+\)
merge_method: squash

pull_request_rules:

- name: Label dependency-update PRs
conditions:
- or:
- author~=^dependabot(|-preview)\[bot\]$
- author=scala-steward
- author~=^dependabot(|-preview)\[bot\]$
- author=scala-steward
actions:
label:
add: [dependency-update]

- name: Merge dependency-update PRs
conditions:
- and:
- or:
- author~=^dependabot(|-preview)\[bot\]$
- author=scala-steward
- base=master
- check-success~=build \(2.13.\d+\)
- check-success~=build \(3.\d+.\d+\)
conditions: []
actions:
queue:
name: default
method: squash