From a0c8f1b21c499aead05dc9474e8ad820d7a444b2 Mon Sep 17 00:00:00 2001 From: Jonas Strassel Date: Tue, 26 Aug 2025 13:00:28 +0200 Subject: [PATCH] fix: Simplify release job conditions in workflow So that users of the workflow can decide if they'd like to add further constraints. I think putting assumptions on the commit message is a bit to much. --- .github/workflows/release-node.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/.github/workflows/release-node.yml b/.github/workflows/release-node.yml index 445a6c1..8ffefc6 100644 --- a/.github/workflows/release-node.yml +++ b/.github/workflows/release-node.yml @@ -14,10 +14,6 @@ on: jobs: release: - if: | - github.event_name == 'push' && - github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && - contains(github.event.head_commit.message, 'chore(main): release') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4