diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a676915..86656b2 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -9,7 +9,7 @@ jobs: build_and_test: name: Test and Build - ${{ matrix.version }} runs-on: ubuntu-latest - if: ${{ ! startsWith(github.event.head_commit.message, 'chore(release):') }} + if: ${{ ! startsWith(github.event.commits[0].message, 'chore(release):') }} strategy: fail-fast: false matrix: @@ -44,7 +44,7 @@ jobs: lint: name: Lint runs-on: ubuntu-latest - if: ${{ ! startsWith(github.event.head_commit.message, 'chore(release):') }} + if: ${{ ! startsWith(github.event.commits[0].message, 'chore(release):') }} steps: - uses: actions/checkout@v4 - name: Install toolchain and components