-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Manual test for automerge of dependencies #984
Conversation
automerged_updates: | ||
- match: | ||
dependency_type: "all" | ||
update_type: "semver:minor" |
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.
Does this also wait for the CI to become green?
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.
Yes
https://dependabot.com/docs/config-file/#automerged_updates
For all of the options below Dependabot will wait until all your status checks pass before merging.
@robkeim I'm really hoping work will be done on this issue. |
Yeah that would definitely be nice, because each time xunit gets updated we're going to get ~100 PRs generated which can create a lot of noise. I have to admit I've never used this on a project with so many csproj's before :) |
Right, merged! Let's see what happens :) |
This is a rather unusual project with some many individual project files. So it would be a most welcome feature. |
Hey, if you update the config file to have a single update config, pointing at the (We need to make it clearer that that's the case, particularly for folks using config files.) |
@greysteil That's a great hint! @robkeim, did you see this? |
@robkeim When we have this work properly, we can then try and do the same for F#, which should then result in far less PR's :) |
@greysteil Would the config look something like this then: version: 1
update_configs:
- package_manager: "dotnet:nuget"
directory: "/exercises"
update_schedule: "live"
automerged_updates:
- match:
dependency_type: "all"
update_type: "semver:minor"
- package_manager: "dotnet:nuget"
directory: "/generators"
update_schedule: "live"
automerged_updates:
- match:
dependency_type: "all"
update_type: "semver:minor" |
Yes, that should work! |
Thanks @greysteil for the tip! |
If this works then I'll update the script and add this to all of the projects. I just didn't want to create another wave of spam if something isn't right with this configuration.