From 2a1fb7a8f193516d6ed9194b28a4edf1616b59ba Mon Sep 17 00:00:00 2001 From: Thijs Daniels Date: Tue, 25 Jun 2024 17:31:57 +0200 Subject: [PATCH] ci: prevent deploy on release --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d405efaf..8fae7672 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,8 +8,8 @@ on: jobs: deploy: name: Deploy Apps - if: "github.event.commit.message != 'chore: publish'" runs-on: ubuntu-latest + if: github.event.head_commit.message != 'version packages' concurrency: ${{ github.workflow }}-${{ github.ref }} steps: @@ -61,7 +61,7 @@ jobs: - name: Version or Publish uses: changesets/action@v1 with: - commit: "chore: publish" + commit: "version packages" publish: npm run publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}