GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: use latest ghcommit and fix cwd for git-cli by s0 · Pull Request #486 · changesets/action

Conversation

@s0

@s0 s0 commented May 12, 2025

Copy link
Copy Markdown
Member
  • cwd was not working correctly when commitMode was set to git-cli, as it was attempting to resolve the cwd twice. (This problem only occured when specifying a relative path for cwd.)
  • Update ghcommit, and avoid calling process.chdir() to change the working directory. Instead, we now pass the cwd option everywhere.

fixes #475

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

augustjk reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@s0
fix: use latest ghcommit and fix cwd for git-cli
e15ca88
- `cwd` was not working correctly when commitMode was set to `git-cli`,
  as it was attempting to resolve the `cwd` twice.
  (This problem only occured when specifying a relative path for `cwd`.)
- Update `ghcommit`, and avoid calling `process.chdir()` to change the
  working directory. Instead, we now pass the `cwd` option everywhere.

fixes changesets#475
@changeset-bot

changeset-bot Bot commented May 12, 2025 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 4924a42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@changesets/action Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@s0

s0 commented May 12, 2025

Copy link
Copy Markdown
Member Author

@Andarist please take a look and review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@augustjk augustjk mentioned this pull request May 13, 2025
Make @lit-labs/rollup-plugin-minify-html-literals available via npm lit/lit#4273
Open
1 task done
Andarist added 2 commits May 15, 2025 21:47
@Andarist
Merge remote-tracking branch 'origin/main' into fix-cwd
3a459a5
@Andarist
simplify
0c3b868
Andarist
Andarist reviewed May 15, 2025
View reviewed changes
Comment thread src/index.ts Resolved

Uh oh!

There was an error while loading. Please reload this page.

s0
s0 commented May 15, 2025
View reviewed changes

@s0 s0 left a comment

Copy link
Copy Markdown
Member Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Andarist
Andarist reviewed May 16, 2025
View reviewed changes
Comment thread .changeset/lemon-garlics-sell.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Andarist
Andarist reviewed May 16, 2025
View reviewed changes
Comment thread .changeset/lemon-garlics-sell.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

Andarist
Andarist reviewed May 16, 2025
View reviewed changes
Comment thread .changeset/sour-elephants-switch.md Resolved

Uh oh!

There was an error while loading. Please reload this page.

@Andarist
Apply suggestions from code review
4924a42
@Andarist
Andarist merged commit 7ed1955 into changesets:main May 16, 2025
@github-actions github-actions Bot mentioned this pull request May 15, 2025
Version Packages #480
Merged
@vokitysh

vokitysh commented May 22, 2025

Copy link
Copy Markdown
Contributor

I think this fix uncovered another issue, could someone take a look at this PR please!

ping @s0 @Andarist

ddeliziact reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

valpinkman pushed a commit to LedgerHQ/changeset-action-ledger that referenced this pull request Aug 4, 2025
Valentin D. Pinkman
Merge remote-tracking branch 'upstream/main' into chore/merge-changes
3a72bc5
* upstream/main: (28 commits)
  Version Packages (changesets#480)
  Fixed missed `__dirname` reference (changesets#496)
  Switch to bundling with Rollup (changesets#495)
  Migrate to ESM (changesets#484)
  Fixed situations in which `cwd` was specified as a relative path and used with (default) `commitMode: git-cli` (changesets#486)
  Add LICENSE file (changesets#491)
  Fix PRs sometimes not getting reopened with `commitMode: github-api` (changesets#488)
  Removed `fs-extra` dependency (changesets#481)
  Setup Git user in `release-pr` workflow (changesets#493)
  Use proper ndoe version in `release-pr` workflow (changesets#492)
  Add `release-pr` workflow (changesets#490)
  Migrate to Vitest (changesets#483)
  Switch to `esbuild` for bundling (changesets#479)
  Import only for `semver/functions/lt` (changesets#482)
  Avoid hitting a deprecation warning when encountering errors from `@octokit/request-error` (changesets#461)
  Run typecheck on CI (changesets#478)
  Updated `@actions/*` and `@octokit/*` dependencies (changesets#477)
  Bump @babel/runtime from 7.21.5 to 7.27.1 (changesets#464)
  Version Packages (changesets#476)
  Make git add work consistently with subdirectories (changesets#473)
  ...
@coderabbitai coderabbitai Bot mentioned this pull request Apr 1, 2026
release: adopt npm trusted publishing knockout/tko#270
Merged
This was referenced Aug 2, 2026
docs: action runtime dispatch and version PR lifecycle garlobrian52/action#13
Merged
docs: cwd accuracy, pushTag pitfalls, consumer troubleshooting garlobrian52/action#14
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@Andarist Andarist Andarist left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Remove usage of process.chdir()

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@s0 @vokitysh @Andarist
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.