From 138401060f8ea087623b1989ea90930fa52078bf Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 4 Oct 2024 18:42:42 +0200 Subject: [PATCH] ci: correct condition --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 72195bc1..de291f46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,7 +51,7 @@ jobs: if: ${{ matrix.os == 'ubuntu-latest' && matrix.node == 22 }} - name: nightly release if: | - ${{ matrix.os == 'ubuntu-latest' && matrix.node == 22 }} && + matrix.os == 'ubuntu-latest' && matrix.node == 22 && github.event_name == 'push' && !contains(github.event.head_commit.message, '[skip-release]') && !startsWith(github.event.head_commit.message, 'docs')