-
Notifications
You must be signed in to change notification settings - Fork 1k
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
How to add multiple directories in dependabot.yml config file? #2824
Comments
I have the same problem. I have multiple projects in different folders and would like a way to list multiple directories for a single package ecosystem, so dependabot can handle all projects at once. Ie:
The only way that I have found so far is to create an ecosystem for each folder, which is tedious and repetitive, especially since they all have the same update schedule, default reviewers, default labels and the same list of ignored dependencies. |
@Zethson you'll have to add each directory like so:
We have some ideas to improve this allowing globs/arrays of directories for the same ecosystem. |
@feelepxyz thank you very much. |
@feelepxyz Is there an issue we can follow to track those ideas for allowing globs/arrays of directories for the same ecosystem? |
v7.6.1 (2021-03-04) https://github.com/npm/cli/releases/tag/v7.6.1 BUG FIXES 3c9a589b0 #2807 npm explain show when an edge is a bundled edge (@kumavis) b33c760ce #2766 unused arguments cleanup (@sandersn) 4a5dd3a5a #2772 fix(npm) pass npm context everywhere (@wraithgar) e69be2ac5 #2789 fix npm prefix on all Windows unix shells (@isaacs) 2d682e4ca #2803 fix(search): don't pass unused args (@wraithgar) b3e7dd19b #2822 fix(diff): set option "where" for pacote (@ruyadorno) 96006640b #2824 fix(repo, auth.sso): don't promisify open-url (@wraithgar) DOCUMENTATION c8b73db82 #2690 fix(docs): update scripts docs (@wraithgar) 5d922394b #2809 update republish timeout after unpublish (@BAJ-) DEPENDENCIES 2d4ae598f @npmcli/[email protected]
How to add multiple directories in dependabot.yml config file?: dependabot/dependabot-core#2824 (comment) Maybe this will be better one day. Wildcards in directory · Issue #2178 · dependabot/dependabot-core: dependabot/dependabot-core#2178
Would be neat if directory could take a list or an array of paths too... - package-ecosystem: "composer"
directory:
- "/app"
- "/"
schedule:
interval: "daily" |
Or the ability to use wildcards. |
any news on this topic? |
This can be closed as a duplicate of the older #2178 which has greater visibility. |
See dependabot/dependabot-core#2824 Followup on #2306 Signed-off-by: Alexander Yastrebov <[email protected]>
See dependabot/dependabot-core#2824 Followup on #2306 Signed-off-by: Alexander Yastrebov <[email protected]>
Seems dependabot looks specifically for pom files named `pom.xml`. We therefore introduce an additional level of directories (named same as the alias.) Unfortunately, these means we'll need to edit `dependabot.yml` as we add and remove aliases. See: - dependabot/dependabot-core#3951 - dependabot/dependabot-core#2824
If I want Dependabot to check both, the
/
directory and e.g./app
directory for the same ecosystem, how would I do that?Everything that I find online refers to the old UI and not the config file.
The text was updated successfully, but these errors were encountered: