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

feat: add recursive option, defaults to true #11

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ehowey
Copy link

@ehowey ehowey commented Feb 18, 2021

Hi John et al.,

My use case is that I have a fairly high number of starters all within one directory in a monorepo. I don't want a single change to one starter to trigger the publish workflow across all starters. So I modified this to add a "recursive" option. This probably isn't a perfect or final API, but more an idea. This is also my first time writing bash scripting, so I wouldn't merge this. Moreso it is a proof of concept.

The recursive option is set to default to true, so that means the action continues to function as-is for current users. However when set to false the folder specified is exact and no recursive searching is completed. For example if the folder is specified as "starters/gatsby-starter-awesome" then it will only look in that one specific folder and not recursively inside of it.

I hope that makes sense, I would be happy to explain or discuss more if needed.

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

Successfully merging this pull request may close these issues.

1 participant