-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot find commit when running in github without action #522
Comments
Hmmm, I'm seeing the same error if I try running that command manually in a separate step:
So, maybe the checkout isn't working quite right or something, even though I'm using |
Ah, yep it looks like by default the checkout action checks out an ephemeral merge commit:
If I specify a How does the chromatic github action handle this? |
Instead of bailing out here:
envCi , as a fallback?
|
Any resolution or recommendations here? Dealing with the same issue. |
I don't have any great solutions. I ended up using patch-package to patch chromatic temporarily when I was running into this, but I've since gone back to using the github action. |
I need to use an npm script with a patched version of chromatic-cli to test out turbosnap support for vite, but I'm having trouble running the command without the official github action (which has been working great for us previously). I'm getting this message in my logs:
When I run
git --no-pager log -n 1 --format="%H ## %ct ## %ae ## %an" turbosnap
manually in my project, I get a good result. Is this a bug in chromatic, perhaps?The text was updated successfully, but these errors were encountered: