-
Notifications
You must be signed in to change notification settings - Fork 4
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 sub-directory pattern #1
Comments
Hi, Indeed it's currently not supported but we are open to contribution 😄 I think the best strategy here would be to add a depth param to the filters, maybe we could achieve that with something like this: - name: Generate matrix
id: generate_matrix
uses: ReyahSolutions/matrix-git-generator@v1
with:
filters: |
apps/*/**:2 |
Another way is support - name: Generate matrix
id: generate_matrix
uses: ReyahSolutions/matrix-git-generator@v1
with:
baseDir: apps
filters: |
*/** |
I send a PRs. Currently, I can't install modules, because I can't connect to
|
Sorry for the delay, I had a problem with my mailbox,
I also thought of a system like this in first place but in some cases you would want to set multiple base directory according to a pattern match. Regarding the registry issue, |
I have switched to using another solution to detect the changes directory in my monorepo (lhttps://lerna.js.org + publish script at the application package.json). But, I want to finish what I started; It may helpful for other projects. |
Hi, I try to use your Actions with the filter:
But, the output currently has only the element
apps
. How I can getapps/foo
,apps/bar
(orfoo
/bar
) from the changes? I think the below code is related.matrix-git-generator/src/main.ts
Line 18 in 81c27a8
The text was updated successfully, but these errors were encountered: