-
Notifications
You must be signed in to change notification settings - Fork 348
Description
See: #473 (comment)
As of #473, we now explicitly set the cwd argument for all subprocess calls. As such, it shouldn't be necessary to change the working directory of the current process.
We need to ensure that usage of commitChangesFromRepo (which makes a call to process.cwd()) also works correctly for our use-cases before we can remove this process call.
Namely, we need a way for running this action to work when:
- a repository is checked-out into a sub-directory.
cwdis set to a subdirectory of that subdirectory
In particular, we should:
- Update
commitChangesFromReposo thatrepoDirectorycan be used to recursively start a search for the root of a repository. - Specify
repoDirectoryto be explicitcwd, as withaddFromDirectory.