diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fcefc92a10..e217bf0fa7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -59,8 +59,8 @@ jobs: 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, 'chore') && + !startsWith(github.event.head_commit.message, 'docs') run: ./scripts/release-nightly.sh env: NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}