From ebe8a86b0271860fd5c38718ed2fa5a81f17092d Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Fri, 1 Sep 2023 14:48:28 -0700 Subject: [PATCH] ci: run the release when the test is skipped [skip test] --- .github/workflows/CI.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index b3525e5f..7958d08d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -135,7 +135,7 @@ jobs: Test: name: Test-${{ matrix.os }} - if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }} + if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} needs: [Build] runs-on: ${{ matrix.os }} strategy: @@ -191,6 +191,7 @@ jobs: # uses: mxschmitt/action-tmate@v3 - name: Tests + if: ${{ !contains(github.event.head_commit.message, '[skip test]') }} run: | pnpm run test env: @@ -214,7 +215,7 @@ jobs: Docker: name: Test-${{ matrix.container }} - if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }} + if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }} needs: [Build] runs-on: ${{ matrix.os }} strategy: