-
Notifications
You must be signed in to change notification settings - Fork 335
/
.mergify.yml
54 lines (53 loc) · 2.17 KB
/
.mergify.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# See https://doc.mergify.io/configuration.html
pull_request_rules:
- name: automerge to main with label automerge
conditions:
- "#approved-reviews-by>=1"
- base=main
- label=automerge
- -draft
- label!=WIP
# We need to list them all individually. Here is why: https://docs.mergify.com/conditions/#validating-all-status-checks
# Also make sure to update this when the CI names change
- "status-success=macOS"
- "status-success=Windows"
- "status-success=ci/circleci: arm64"
- "status-success=ci/circleci: clippy-1.67.0"
- "status-success=ci/circleci: clippy-1.68.2"
- "status-success=ci/circleci: contract_burner"
- "status-success=ci/circleci: contract_crypto_verify"
- "status-success=ci/circleci: contract_cyberpunk"
- "status-success=ci/circleci: contract_floaty"
- "status-success=ci/circleci: contract_hackatom"
- "status-success=ci/circleci: contract_hackatom"
- "status-success=ci/circleci: contract_ibc_reflect"
- "status-success=ci/circleci: contract_ibc_reflect_send"
- "status-success=ci/circleci: contract_queue"
- "status-success=ci/circleci: contract_reflect"
- "status-success=ci/circleci: contract_staking"
- "status-success=ci/circleci: contract_virus"
# disabled temporarily because Rust version is too low
# - "status-success=ci/circleci: coverage"
- "status-success=ci/circleci: fmt"
- "status-success=ci/circleci: fmt_extra"
- "status-success=ci/circleci: package_check"
- "status-success=ci/circleci: package_crypto"
- "status-success=ci/circleci: package_schema"
- "status-success=ci/circleci: package_schema_derive"
- "status-success=ci/circleci: package_std"
- "status-success=ci/circleci: package_vm"
- "status-success=ci/circleci: package_vm_windows"
actions:
merge:
method: merge
- name: backport PRs to minor version branch
conditions:
- base=main
- label=backport
actions:
backport:
branches:
# Update this when going to a new minor version
- "release/1.4"
assignees:
- "{{ author }}"