You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 24, 2023. It is now read-only.
I have a monorepo where subdirectories are NPM packages, each with their own package.json. I want to run ESLint from each subdirectory only on modified files in a PR, and want to use this action to provide the list of files that were changed.
However, the action runs in the root by default, where there is package.json. So the list always looks like: [subdirectory/**/file, etc.]. Whereas I would like to receive it as [**/file, etc.]
Describe the solution you'd like: 考えうる解決方法
A working-directory option, similarly to run e.g.:
Then, git diff could run with the --relative flag.
Describe alternatives you've considered: 考えうる代替案
Using bash to process the file names returned by the action – doable but very cumbersome.
Additional context: 補足
n/a
The text was updated successfully, but these errors were encountered:
Please describe your suggestion: 提案の概要
I have a monorepo where subdirectories are NPM packages, each with their own
package.json
. I want to run ESLint from each subdirectory only on modified files in a PR, and want to use this action to provide the list of files that were changed.However, the action runs in the root by default, where there is
package.json
. So the list always looks like: [subdirectory/**/file
, etc.]. Whereas I would like to receive it as [**/file
, etc.]Describe the solution you'd like: 考えうる解決方法
A
working-directory
option, similarly torun
e.g.:Then,
git diff
could run with the--relative
flag.Describe alternatives you've considered: 考えうる代替案
Using bash to process the file names returned by the action – doable but very cumbersome.
Additional context: 補足
n/a
The text was updated successfully, but these errors were encountered: