Skip to content

Commit 973661f

Browse files
committed
fix(ci): change skip condition from commit message to PR title
1 parent fe52933 commit 973661f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ on:
1010
jobs:
1111
checker:
1212
runs-on: ubuntu-latest
13-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
13+
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
1414
steps:
1515
- name: Checkout repository
1616
uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323

2424
test-ee:
2525
runs-on: ubuntu-latest
26-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
26+
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
2727
strategy:
2828
matrix:
2929
shard: [1, 2, 3, 4]
@@ -44,7 +44,7 @@ jobs:
4444

4545
test-ce:
4646
runs-on: ubuntu-latest
47-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
47+
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
4848
steps:
4949
- name: Checkout repository
5050
uses: actions/checkout@v4
@@ -62,7 +62,7 @@ jobs:
6262

6363
report:
6464
runs-on: ubuntu-latest
65-
if: "!contains(github.event.head_commit.message, '[skip ci]')"
65+
if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }}
6666
needs: [test-ee, test-ce]
6767
steps:
6868
- name: Checkout repository

0 commit comments

Comments
 (0)