From e3cec7da831a4261dadbbdb2d19926e71dd3caf5 Mon Sep 17 00:00:00 2001 From: Mati OS Date: Sun, 12 Apr 2026 11:01:27 -0300 Subject: [PATCH] fix(ci): Don't create pr for releases --- .github/workflows/release.yml | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 33daaaf..bae51f6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,6 @@ concurrency: permissions: contents: write - pull-requests: write id-token: write jobs: @@ -29,15 +28,20 @@ jobs: - run: pnpm install --frozen-lockfile + - name: Version packages + run: pnpm changeset version + - run: pnpm run build - - name: Create Release PR or Publish - uses: changesets/action@v1 - with: - version: pnpm changeset version - publish: pnpm changeset publish --provenance - title: "chore: version packages" - commit: "chore: version packages" + - name: Publish to npm + run: pnpm changeset publish --provenance env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + - name: Commit and push version changes + run: | + git config user.name "github-actions[bot]" + git config user.email "41898282+github-actions[bot]@users.noreply.github.com" + git add . + git commit -m "chore: version packages" || echo "No changes to commit" + git push