-
Notifications
You must be signed in to change notification settings - Fork 498
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
Feature: Improve dependabot detection thru PRs or parsing config file #874
Comments
do you have dependabot enabled as a GitHub setting rather than a config file under |
I'm not the owner of the samlify repository so I can't fully confirm. But after some testing on a private repo I own I noticed that dependabot is not detected if enabled through Github settings, I would suspect same thing is happening with samlify. |
yep that makes sense. We encourage owners to make their config public. That said, we have plans to improve the check to look for dependabot PRs (accepted/rejected) to make the check more robust. Thanks for reminding us, I realized there was no tracking issue for it. If you're interested in helping, PRs are welcome! |
Additional note: we should also check for reverted dependabot PRs by maintainers |
Any ideas on how to implement this ? I've been looking at the Github API and haven't found a way to know if the repository has dependabot (or similar) enabled. |
I think that is a good start and aligned with what we had in mind. @jeffmendoza please let us know if you have better ideas/insights for now. FYI @inferno-chromium @naveensrinivasan @oliverchang @azeemsgoogle how many days shall we look back for merged PRs? |
see also a discussion step-security/agent#35 (comment), between dependabot security and dependabot dep. We should check whether the config file can differentiate between the two types of dependabot. FYI @varunsh-coder |
(renaming the title of this issue to |
Looking at PRs to get a hint about dependabot usage sounds like a good idea to me. I would say a good starting point would be to use the existing |
Describe the bug
When running Scorecard against this repo https://github.com/tngan/samlify I get an score 0 on the Dependency Update Tool check, however the repo does have dependabot.
Reproduction steps
Steps to reproduce the behavior:
docker run -e GITHUB_AUTH_TOKEN=<token> gcr.io/openssf/scorecard:stable --show-details --repo=https://github.com/tngan/samlify
Expected behavior
Dependency Update Check has a non-zero score because the repo has dependabot.
The text was updated successfully, but these errors were encountered: