-
Notifications
You must be signed in to change notification settings - Fork 18
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
Dependency ecosystems not correctly detected #29
Comments
This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
For this maybe its better to temporarily clone the repository and do file search for project files? I feel like rate limits would be spent quickly otherwise. |
Hello everyone, The suggestion of cloning the repository would be a good option we could use any search option, for example I'm using the Would it make sense to do this for all the languages supported or for certain ones for now? Thanks |
Hello, just noticed that on the dependabot configuration there is the option This can be used also on GHE starting on version 3.14, before that only 1 folder can be used or by copying the block of configurations over and over again, just mentioning 1 folder at the time. For some languages maybe we can search for what languages might be present on the repository itself? (this information) In this case we wouldn't need to search for the files and would just need to create an entry for Python and terraform and indicate that the directories are "/*", this would allow dependabot to search recursively on all folders on the repo and search for the updates. I can try and revisit this later when we start to implement the changes. |
The logic to detect whether to configure package updates for most ecosystems, except for GitHub Actions and Terraform only appears to consider files in the root of the repository.
I found this after testing the action out on a .NET repository where the
.csproj
files are in subdirectories within the repository. The action generated adependabot.yml
file that only specified GitHub Actions updates.Each file tested for should recurse through the repository to try and files (maybe within a configurable depth limit to reduce impact on rate limits) so that the generated file is a more accurate reflection of what should be configured.
The text was updated successfully, but these errors were encountered: