taichi / actions-package-update

keeps npm dependencies up-to-date by making pull requests from GitHub Actions or CI.
64 stars 14 forks source link

Fix running in a subdirectory of the project root #12

Closed nicole-ashley closed 4 years ago

nicole-ashley commented 4 years ago

GITHUB_WORKSPACE is clobbered by GitHub if you try to set it yourself, so it's useless for allowing a user to override the working directory. Changing the name of the variable fixes this.

We don't need to use GITHUB_WORKSPACE as a fallback because GitHub actions already start us off in the project root by default.

Fixes #9.

nicole-ashley commented 4 years ago

@taichi Would it be possible to get a new NPM release containing this change? The change is part of the NPM module so it can't be used without a release to NPM.

taichi commented 4 years ago

thanks for your mention.

i just released.

nicole-ashley commented 4 years ago

Thanks @taichi!