fix(ci): changesets publish args#2304
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
📝 WalkthroughWalkthroughTwo independent maintenance changes: the release preview CI workflow removes the ChangesRelease workflow and dependency updates
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR updates the release preview GitHub Actions workflow to comply with newer @changesets/cli validation rules by removing an invalid --snapshot flag from changeset publish, while also bumping the repo’s Astro version (and associated lockfile entries) as part of dependency/security maintenance.
Changes:
- Remove
--snapshotfrompnpm changeset publishin the release preview workflow (snapshot is handled bychangeset version --snapshot). - Bump
astrofrom^6.3.3to^6.4.7in the workspace catalog. - Update
pnpm-lock.yamlaccordingly (transitive updates associated with the Astro bump).
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
pnpm-workspace.yaml |
Bumps the catalog Astro version to ^6.4.7. |
pnpm-lock.yaml |
Updates lockfile entries to reflect Astro 6.4.7 and related dependency graph changes. |
.github/workflows/release_preview.yml |
Removes the invalid --snapshot flag from changeset publish while keeping snapshot versioning in the prior step. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
@greptile review |
This is a follow up PR to #2303 as updated
@changesets/clidependency enforces new validation rules. Thechangeset publishcommand was never meant to include the--snapshotargument, as the that argument belongs solely to thechangeset versioncommand (see changesets/changesets#1578).Also, this PR updates some dependency version to resolve security audit issues.