fix(ci): changesets publish args#2305
Conversation
|
|
Warning Review limit reached
More reviews will be available in 2 minutes and 52 seconds. Learn how PR review limits work. Your organization has used up its prepaid credits, and credit purchases are no longer available. Enable the review add-on in the billing tab to keep reviews running — you're only billed for reviews past your plan's rate limits ($0.25/file). ⌛ How to resolve this issue?After more reviews become available, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans include higher PR review limits than trial, open-source, and free plans. In all cases, reviews become available again over time. During sustained high-volume PR review activity, CodeRabbit may temporarily slow when the next review becomes available. Please see our Fair Usage Limits Policy for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (2)
✨ Finishing Touches🧪 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 |
Greptile SummaryThis PR fixes a CI issue in the preview release workflow by removing the invalid
Confidence Score: 5/5Safe to merge — the workflow fix is correct and the astro bump is a straightforward minor-version update backed by a consistent lockfile. The single-line removal of No files require special attention. Important Files Changed
Sequence Diagram%%{init: {'theme': 'neutral'}}%%
sequenceDiagram
participant GHA as GitHub Actions
participant CS as Changesets CLI
participant NPM as npm Registry
Note over GHA,NPM: Preview Release Workflow
GHA->>CS: pnpm changeset version --snapshot snapshot-tag
CS-->>GHA: Packages versioned with snapshot suffix
GHA->>CS: pnpm changeset publish --no-git-tag --tag dist-tag
Note over CS: Fixed - snapshot removed from publish
CS->>NPM: Publish packages under dist-tag
NPM-->>CS: Published
CS-->>GHA: Published version returned
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
sequenceDiagram
participant GHA as GitHub Actions
participant CS as Changesets CLI
participant NPM as npm Registry
Note over GHA,NPM: Preview Release Workflow
GHA->>CS: pnpm changeset version --snapshot snapshot-tag
CS-->>GHA: Packages versioned with snapshot suffix
GHA->>CS: pnpm changeset publish --no-git-tag --tag dist-tag
Note over CS: Fixed - snapshot removed from publish
CS->>NPM: Publish packages under dist-tag
NPM-->>CS: Published
CS-->>GHA: Published version returned
Reviews (1): Last reviewed commit: "Address audit issues reported by OSV sca..." | Re-trigger Greptile |
There was a problem hiding this comment.
Pull request overview
This PR updates the release preview GitHub Actions workflow to stop passing an invalid --snapshot flag to changeset publish (snapshotting is handled during changeset version). It also updates the workspace astro catalog version and refreshes the lockfile accordingly.
Changes:
- Remove
--snapshotfrompnpm changeset publishin therelease_previewworkflow. - Bump
astroin the pnpm catalog from^6.3.3to^6.4.7. - Regenerate
pnpm-lock.yamlto reflect the updatedastro(and transitive dependency) versions.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
pnpm-workspace.yaml |
Updates the catalog-pinned astro version. |
pnpm-lock.yaml |
Lockfile refresh to reflect astro@6.4.7 and related transitive updates. |
.github/workflows/release_preview.yml |
Fixes CI by removing the invalid --snapshot argument from changeset publish. |
Files not reviewed (1)
- pnpm-lock.yaml: Generated file
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -209,9 +209,8 @@ jobs: | |||
| run: | | |||
| # Publish with changesets using snapshot mode | |||
| "@types/react": 19.2.7 | ||
| "@types/react-dom": 19.2.3 | ||
| astro: ^6.3.3 | ||
| astro: ^6.4.7 |
This is a follow up PR to #2304 addressing one last CI run issue where
changeset publishcommand was used with an invalid--snapshotargument.