diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 0c6b2e66..a74c71ba 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -6,7 +6,7 @@ on: [ push, pull_request ] jobs: build_wheels: name: Build wheels on ${{ matrix.os }} - if: ${{ startsWith(github.ref, 'refs/tags/') || contains(github.event.commits.*.message, '[pypi]') }} + if: ${{ startsWith(github.ref, 'refs/tags/') || contains(github.event.head_commit.message, '[pypi]') }} runs-on: ${{ matrix.os }} strategy: matrix: