-
-
Notifications
You must be signed in to change notification settings - Fork 12
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
Support a custom working directory #21
Conversation
This change allows users to optionally specify which directory has the git repository. In rare cases, the directory containing the desired repository does not exist within the github workspace on a runner. When this occurs, this action is no longer useable. The `working-directory` option within a workflow is only supported for `run` steps and not `uses`: https://stackoverflow.com/questions/67299058/running-github-actions-for-uses-in-another-directory
Nice idea! When you're ready, mark the PR as "Ready for review" and I'll take a look at it ;) |
@EndBug have you had a chance to look at this? |
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.
Hi! Sorry but I didn't receive the notification when you marked the PR as ready for review 😅
Anyway, just looked at it and it's great! I just have one note about the setupUser
function, can you take a look at the review comment?
As soon as that's fixed, I'll test the action, marge the PR, and release a new minor version 🚀
Co-authored-by: Federico Grandi <fgrandi30@gmail.com>
Okay, I think these changes are ready to go. TIA for testing it 👍. |
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.
Alright, LGTM ✅
@all-contributors please add @qubitz for their code contribution ✨ |
I've put up a pull request to add @qubitz! 🎉 |
Released in |
This change allows users to optionally specify which directory has the git repository.
In rare cases, the directory containing the desired repository does not exist within the github workspace on a runner. When this occurs, this action is no longer useable.
The
working-directory
option within a workflow is only supported forrun
steps and notuses
:https://stackoverflow.com/questions/67299058/running-github-actions-for-uses-in-another-directory
I am fairly new to TypeScript and would welcome any feedback.