Skip to content

Commit 8f96dfe

Browse files
committed
ci(Mergify): configuration update
Signed-off-by: Luca Bertagna <null>
1 parent e902e38 commit 8f96dfe

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.mergify.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
merge_protections:
2+
- name: Enforce checks passing
3+
description: Make sure that checks are not failing on the PR, and reviewers approved
4+
if:
5+
- base = master
6+
success_conditions:
7+
- "#approved >= 1" # At least 1 approval
8+
- "#changes-requested == 0" # No reviewer asked for changes
9+
- or:
10+
- and:
11+
- check-success=eamxx-sa/gcc-openmp/sp
12+
- check-success=eamxx-sa/gcc-openmp/dbg
13+
- check-success=eamxx-sa/gcc-openmp/fpe
14+
- check-success=eamxx-sa/gcc-openmp/opt
15+
- check-skipped="eamxx-sa/gcc-openmp/${{matrix.build_type}}"
16+
- or:
17+
- and:
18+
- check-success=eamxx-sa/gcc-cuda/sp
19+
- check-success=eamxx-sa/gcc-cuda/dbg
20+
- check-success=eamxx-sa/gcc-cuda/opt
21+
- check-skipped="eamxx-sa/gcc-cuda/${{matrix.build_type}}"
22+
- or:
23+
- and:
24+
- check-success=eamxx-v1/cpu-gcc/ERS_Ln9.ne4_ne4.F2000-SCREAMv1-AQP1.scream-output-preset-2
25+
- check-success=eamxx-v1/cpu-gcc/ERS_P16_Ln22.ne30pg2_ne30pg2.FIOP-SCREAMv1-DP.scream-dpxx-arm97
26+
- check-success=eamxx-v1/cpu-gcc/ERS_Ln22.ne4pg2_ne4pg2.F2010-SCREAMv1.scream-small_kernels--scream-output-preset-5
27+
- check-success=eamxx-v1/cpu-gcc/SMS_D_Ln5.ne4pg2_oQU480.F2010-SCREAMv1-MPASSI.scream-mam4xx-all_mam4xx_procs
28+
- check-skipped="eamxx-v1/cpu-gcc-/${{matrix.test.short_name}}"
29+
- or:
30+
- check-success=eamxx-scripts/cpu-gcc
31+
- check-skipped=eamxx-scripts/cpu-gcc

0 commit comments

Comments
 (0)