Skip to content
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

Matched paths as output #139

Closed
bulseeyeLF opened this issue Sep 16, 2021 · 3 comments · Fixed by #181
Closed

Matched paths as output #139

bulseeyeLF opened this issue Sep 16, 2021 · 3 comments · Fixed by #181

Comments

@bulseeyeLF
Copy link

bulseeyeLF commented Sep 16, 2021

Hey, first of all, awesome action! 🔥

Is it possible to add a separate output that would output files that matched the filters (path option)?

Additionally, maybe add smlr support as in https://github.com/dorny/paths-filter for naming the filters

Suggesting as my use case is:
Monorepo with different services and I want this action to run on any service files change, but the above mentioned output of matched filters would be passed as a matrix input (JSON Array) to the next job that would run unit tests for all changed services

Thanks

@fkirc
Copy link
Owner

fkirc commented Sep 16, 2021

Hi,

Outputting matched files sounds doable; I would be willing to merge a PR that adds this feature.

@bulseeyeLF
Copy link
Author

Thank you very much :) how about named filters? 👼

@fkirc
Copy link
Owner

fkirc commented Sep 21, 2021

I would look into a PR, I guess that it's best to output almost everything

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants