From 22631201d59688eb5e1aee6dbac439da3e8b6e45 Mon Sep 17 00:00:00 2001 From: guozichun Date: Mon, 29 Apr 2024 01:37:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=80=20Update=20release=20workflow=20co?= =?UTF-8?q?nditions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Adjusted condition to trigger on 'develop' branch - Ensures correct event for creating release PRs --- .github/workflows/Release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml index 1e99564..85aa912 100644 --- a/.github/workflows/Release.yml +++ b/.github/workflows/Release.yml @@ -58,7 +58,7 @@ jobs: run: | pnpm build - name: 📣 Create Release Pull Request and Publish new version to Npm - if: startsWith(github.head_ref, 'release/') && github.event_name == 'pull_request' + if: github.head_ref == 'develop' && github.event_name == 'pull_request' id: changesets uses: changesets/action@v1.4.7 with: