Skip to content

Commit ebe8a86

Browse files
committed
ci: run the release when the test is skipped [skip test]
1 parent 5e87b77 commit ebe8a86

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/CI.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ jobs:
135135

136136
Test:
137137
name: Test-${{ matrix.os }}
138-
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
138+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
139139
needs: [Build]
140140
runs-on: ${{ matrix.os }}
141141
strategy:
@@ -191,6 +191,7 @@ jobs:
191191
# uses: mxschmitt/action-tmate@v3
192192

193193
- name: Tests
194+
if: ${{ !contains(github.event.head_commit.message, '[skip test]') }}
194195
run: |
195196
pnpm run test
196197
env:
@@ -214,7 +215,7 @@ jobs:
214215
215216
Docker:
216217
name: Test-${{ matrix.container }}
217-
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') && !contains(github.event.head_commit.message, '[skip test]') }}
218+
if: ${{ !contains(github.event.head_commit.message, '[skip ci]') }}
218219
needs: [Build]
219220
runs-on: ${{ matrix.os }}
220221
strategy:

0 commit comments

Comments
 (0)