-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
GitHub: Improve Dependabot. #12033
GitHub: Improve Dependabot. #12033
Conversation
✅ Deploy Preview for kubernetes-ingress-nginx canceled.
|
/triage accepted |
Also @cpanato, as you seem to be around: What's your understanding of the docs? As stated above I'm not sure if just |
yes, that is my understanding as well but i would keep as you did |
1e9893a
to
2480386
Compare
Ok, nice! Sorry for the confusion. I re-ordered the entries a bit. You might want to have a look at the current state instead of the change only: https://github.com/kubernetes/ingress-nginx/blob/2480386ef37576992f5470905797fc3c1d45e540/.github/dependabot.yml |
Ok, lol. These settings are maybe a bit broad. These are the PRs Dependabot came up with in one run: https://github.com/Gacko/ingress-nginx-dependabot/pulls And it already exceeded the limit of 5 PRs. |
455bc68
to
cb8df3b
Compare
I amended the PR to not flood us with updates on merge. Also I split my changes in atomic commits. Right now I only fixed the directories for the Docker dependencies and added most occurrences of Before Dependabot failed to update Dockerfiles because they were not lying in The same basically applies for Go modules: We have We can still broaden the scope later, but for now I would like to do just a small first step to not get flooded by dependency bump PRs and possible breaking changes. |
/cherry-pick release-1.10 |
/cherry-pick release-1.11 |
@Gacko: once the present PR merges, I will cherry-pick it on top of release-1.10 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@Gacko: once the present PR merges, I will cherry-pick it on top of release-1.11 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato, Gacko The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@Gacko: new pull request created: #12037 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@Gacko: new pull request created: #12038 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
What this PR does / why we need it:
This morning I found out that Dependabot fails to update our Dockerfiles:
https://github.com/kubernetes/ingress-nginx/network/updates/892831825
It's looking for a Dockerfile in the
images
directory. Apparently the current config is not working recursively. After a short research I found that thedirectories
(notdirectory
) config key supports wildcards and nested locations:https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#directories
At first I thought using just
*
would be enough, but reading the docs a second time, I came to the conclusion that this would only cover the root directory and directories in side the root directory, but not nested directories. So I went for/
and**/*
to cover both the root directory and nested directories.Types of changes
Which issue/s this PR fixes
https://github.com/kubernetes/ingress-nginx/network/updates/892831825
How Has This Been Tested?
Cannot be tested before merging.
Checklist: