From ad61fc4be2b773d2ed5985cbb587d79dbb090381 Mon Sep 17 00:00:00 2001 From: Bobbie Goede Date: Fri, 1 Dec 2023 09:30:50 +0100 Subject: [PATCH] ci: fix nightly release job conditional --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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}}