-
Notifications
You must be signed in to change notification settings - Fork 88
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
[BUG] How to run only in a specific directory of a project? #90
Comments
@markstos thank you, good point! But looking a few lines above, isn't the issue the the action changes into its own action directory first so Lines 36 to 44 in 6602189
So relative paths are relative to this action and would make sense why something like
vs. what this action documents (emphasis mine):
Can't make sense why my version with the absolute path wouldn't work though. I'd say that, for relative paths, at least that's unexpected / a bug somewhere? |
If the "working_directory" is not resolved relative to the project root, that seems like a bug to me. I ran into my own path-related problem with a file-not-found error that doesn't tell me which file is not found. Nice tool, but still some rough edges here. |
Desired behavior is for |
Anyone who lands here, might be worth checking my comment at #94 (comment) |
What exactly happened?
I used the action like this:
This didn't work and I get:
I thought maybe I need to provide the workspace, tried with:
But that gave only:
No further details 🤷🏼
I then had to resorted to this:
I'd have hoped that using a working_directory it would auto-pick up the .prettierignore from there etc.
But at this point, I've no idea how
working_directory
works and have the impression it's used for something else.Is it possible to install prettier and point it to a specific directory and "work from there"?
thank you 🙏🏼
The text was updated successfully, but these errors were encountered: