fix(ci): pin changesets/action to cwd-fix commit#12506
Merged
mikeldking merged 1 commit intomainfrom Apr 2, 2026
Merged
Conversation
v1.7.0 doesn't pass the `cwd` parameter to `readChangesetState()`, causing "There is no .changeset directory" errors in monorepos. See changesets/action#501.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
| # Using PAT instead of GITHUB_TOKEN so that PRs created by this action | ||
| # can trigger subsequent workflows (like publish) when merged | ||
| uses: changesets/action@6a0a831ff30acef54f2c6aa1cbbc1096b066edaf # v1.7.0 | ||
| uses: changesets/action@2ae596f3dd74aaee4f346b31fda33a58528d3d40 # v1.7.0+cwd-fix (changesets/action#501) |
Contributor
There was a problem hiding this comment.
The commit hash 2ae596f3dd74aaee4f346b31fda33a58528d3d40 does not appear to exist on the main branch of changesets/action, which is a supply chain risk — a commit not on main could be force-pushed away or garbage-collected.
A few things to verify before merging:
-
changesets/action#501is an issue, not a PR. The reference is misleading. The actual fix PRs that landed onmainon March 31, 2026 are:changesets/action#502— fixesreadChangesetStateignoringcwdchangesets/action#536— also fixesrunVersionignoringcwd(more complete fix)
-
Consider pinning to the merge commit of PR [ui] display evaluation window on timeseries graphs #536 (
81b3f61ebffcb868f73e4c0b2682517149c834a2), which is the more complete fix and is confirmed onmain.
Suggested change
| uses: changesets/action@2ae596f3dd74aaee4f346b31fda33a58528d3d40 # v1.7.0+cwd-fix (changesets/action#501) | |
| uses: changesets/action@81b3f61ebffcb868f73e4c0b2682517149c834a2 # v1.7.0+cwd-fix (changesets/action#536) |
1 task
KaloyanBorisov
pushed a commit
to KaloyanBorisov/phoenix
that referenced
this pull request
Apr 2, 2026
v1.7.0 doesn't pass the `cwd` parameter to `readChangesetState()`, causing "There is no .changeset directory" errors in monorepos. See changesets/action#501.
KaloyanBorisov
pushed a commit
to KaloyanBorisov/phoenix
that referenced
this pull request
Apr 12, 2026
v1.7.0 doesn't pass the `cwd` parameter to `readChangesetState()`, causing "There is no .changeset directory" errors in monorepos. See changesets/action#501.
github-actions bot
pushed a commit
to KaloyanBorisov/phoenix
that referenced
this pull request
Apr 14, 2026
v1.7.0 doesn't pass the `cwd` parameter to `readChangesetState()`, causing "There is no .changeset directory" errors in monorepos. See changesets/action#501.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
changesets/actionto a post-fix commit that properly passescwdtoreadChangesetState()andrunVersion()cwdinput is ignored during the initial.changesetdirectory check, so it always looks at the repo root instead of./js/Test plan