From 47bcd9faae6c3d5157657e50783feaddd3b25e83 Mon Sep 17 00:00:00 2001 From: iGxnon Date: Tue, 19 Dec 2023 11:27:36 +0800 Subject: [PATCH] chore: fix mergify Signed-off-by: iGxnon --- .github/workflows/pull_request.yml | 2 +- .mergify.yml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index f7cb90a5b..27544d877 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -7,7 +7,6 @@ on: jobs: test: - name: Tests runs-on: ubuntu-latest defaults: run: @@ -31,6 +30,7 @@ jobs: rustflags: "--cfg madsim", test: "nextest run --package=simulation", } + name: Tests ${{ matrix.config.name }} steps: - uses: actions/checkout@v4 with: diff --git a/.mergify.yml b/.mergify.yml index 33b9d4539..7d73e3c35 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -2,7 +2,9 @@ pull_request_rules: - name: Automatic merge on approval conditions: - "#approved-reviews-by>=2" - - check-success=Checks + - check-success=Validation + - check-success=Tests Normal + - check-success=Tests Madsim - check-success=Commit Message Validation - check-success=Spell Check - check-success=DCO