diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9fd235f36..fd667b962 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -144,9 +144,9 @@ jobs: id-token: write if: | github.event_name == 'push' && - !contains(github.event.head_commit.message, '[skip-release]') && - !contains(github.event.head_commit.message, 'chore') && - !contains(github.event.head_commit.message, 'docs') + !startsWith(github.event.head_commit.message, '[skip-release]') && + !startsWith(github.event.head_commit.message, 'chore') && + !startsWith(github.event.head_commit.message, 'docs') needs: - lint - build