diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7f9d63f107a..6d5ceac66a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,13 +99,19 @@ jobs: with: node-version: 24.12.0 - name: Create Release Pull Request + id: changesets uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1 with: version: pnpm changeset-manifests title: Version Packages - ${{ github.ref_name }} - publish: pnpm release latest + createGithubReleases: false + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + + - name: Publish packages + if: steps.changesets.outputs.hasChangesets == 'false' + run: pnpm release latest env: - NODE_AUTH_TOKEN: '' NPM_TOKEN: '' NPM_CONFIG_PROVENANCE: true GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -134,6 +140,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: '' - NODE_AUTH_TOKEN: '' NPM_CONFIG_PROVENANCE: true SHOPIFY_CLI_BUILD_REPO: ${{ github.repository }}