From 1d7e57ae39c6d3095ef58a4406c77bbac3c2d628 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Kuna?= <1282324+codecalm@users.noreply.github.com> Date: Tue, 8 Sep 2026 01:13:42 +0200 Subject: [PATCH] Run the release workflow on `dev` only (#2999) --- .github/workflows/release.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d47ed19fa..13d073d42 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,6 @@ on: push: branches: - dev - - v2-dev permissions: contents: read @@ -45,15 +44,12 @@ jobs: - name: Check backward compatibility run: pnpm run check:compat --strict - # Both branches get their own "chore: update versions" PR. Only `dev` publishes: - # `v2-dev` carries a major changeset, and an empty publish-script keeps the action - # from shipping 2.0.0 to npm as `latest` once that PR is merged. - name: Create release Pull Request or publish to NPM id: changesets uses: changesets/action@ae32849d5ba541f9ae29e40e22a623bc13562f51 # v2.1.2 with: version-script: pnpm run version - publish-script: ${{ github.ref_name == 'dev' && 'pnpm run publish' || '' }} + publish-script: pnpm run publish commit-message: "chore: update versions" pr-title: "chore: update versions" # Push through git instead of the GitHub API: the API mode force-updates