Skip to content

Commit

Permalink
Avoid Too many arguments passed to changesets
Browse files Browse the repository at this point in the history
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 7a1b66f
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
  • Loading branch information
kvz committed Nov 21, 2024
1 parent 7a1b66f commit 019b31a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 019b31a

Please sign in to comment.