From 019b31a478c709c56b31fe47797bb1053c55c679 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Thu, 21 Nov 2024 19:03:15 +0100 Subject: [PATCH] Avoid Too many arguments passed to changesets MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setting git user /usr/bin/git config user.name "github-actions[bot]" /usr/bin/git config user.email "github-actions[bot]@users.noreply.github.com" setting GitHub credentials /usr/bin/git checkout changeset-release/main Switched to a new branch 'changeset-release/main' M .yarnrc.yml branch 'changeset-release/main' set up to track 'origin/changeset-release/main'. /usr/bin/git reset --hard 7a1b66fdfbffca2dd57ca93e05c4ec809b0ee1ab HEAD is now at 7a1b66f Create thin-queens-rule.md /opt/hostedtoolcache/node/22.11.0/x64/bin/corepack yarn changeset version && yarn 🦋 error Too many arguments passed to changesets - we only accept the command name as an argument /usr/bin/git status --porcelain /usr/bin/git push origin HEAD:changeset-release/main --force remote: remote: GitHub found 3 vulnerabilities on transloadit/monolib's default branch (2 high, 1 moderate). To find out more, visit: remote: https://github.com/transloadit/monolib/security/dependabot remote: To https://github.com/transloadit/monolib 72c1cc5..7a1b66f HEAD -> changeset-release/main [] creating pull request Error: HttpError: Validation Failed: {"resource":"PullRequest","code":"custom","message":"No commits between main and changeset-release/main"} Error: Validation Failed: {"resource":"PullRequest","code":"custom","message":"No commits between main and changeset-release/main"} https://github.com/transloadit/monolib/actions/runs/11958917014/job/33339520219#step:8:1 --- .github/workflows/release.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d07e1f2..565dc65 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -53,7 +53,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - version: corepack yarn changeset version && yarn + version: corepack yarn changeset:version:install publish: corepack yarn release title: "chore: version packages" commit: "chore: version packages" diff --git a/package.json b/package.json index 48f57ff..e40214b 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "tsc --build", "fix:js": "biome check --write .", "lint": "biome check . && tsc --build", + "changeset:version:install": "yarn changeset version && corepack yarn", "lint:js": "biome check .", "lint:ts": "tsc --build", "pretest": "tsc --build",