From 973661fabd06a08808fda0c6d1a5fa1c578f384e Mon Sep 17 00:00:00 2001 From: LZS911 <932177767@qq.com> Date: Thu, 6 Nov 2025 11:01:03 +0800 Subject: [PATCH] fix(ci): change skip condition from commit message to PR title --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 37fa3bcaa..b1559d986 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ on: jobs: checker: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }} steps: - name: Checkout repository uses: actions/checkout@v4 @@ -23,7 +23,7 @@ jobs: test-ee: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }} strategy: matrix: shard: [1, 2, 3, 4] @@ -44,7 +44,7 @@ jobs: test-ce: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }} steps: - name: Checkout repository uses: actions/checkout@v4 @@ -62,7 +62,7 @@ jobs: report: runs-on: ubuntu-latest - if: "!contains(github.event.head_commit.message, '[skip ci]')" + if: ${{ !contains(github.event.pull_request.title, '[skip checker]') }} needs: [test-ee, test-ce] steps: - name: Checkout repository