Skip to content

Conversation

@sunnynagavo
Copy link
Contributor

Description

  • ...
    This pull request adds a new .github/dependabot.yml configuration file to automate dependency updates for the project. The configuration covers updates for .NET SDK, NuGet packages, and GitHub Actions, specifying schedules, limits, and grouping strategies to streamline dependency management.

Dependency update automation:

  • Added .github/dependabot.yml to enable automated updates for the .NET SDK, NuGet packages, and GitHub Actions, with weekly schedules and limits on open pull requests.
  • Configured NuGet package update groups for common dependencies (e.g., Microsoft.Sbom.Targets, Microsoft.NET.Test.Sdk, Testcontainers, Microsoft.*, System.*, xunit.*, and a catch-all group) to organize and control update pull requests.

Related issue(s)

Fixes #10

@sunnynagavo
Copy link
Contributor Author

@lbroudoux take a look to change anything inside the configuration ?

@sunnynagavo sunnynagavo force-pushed the dev/nagavo/dependabotcheckin branch from fbbb940 to 36a9111 Compare November 23, 2025 18:08
@SebastienDegodez
Copy link
Member

Hi, I have a similar setup with Microcks test containers, but the group configuration doesn’t seem to work:
microcks/microcks-testcontainers-dotnet#169

Any idea what might be wrong?

@SebastienDegodez
Copy link
Member

Hi, I have a similar setup with Microcks test containers, but the group configuration doesn’t seem to work: microcks/microcks-testcontainers-dotnet#169

Any idea what might be wrong?

When groups is used to define rules:

All updates for dependencies that match a rule are combined in a single pull request.
If a dependency matches more than one rule, it's included in the first group that it matches.
Any outdated dependencies that do not match a rule are updated in individual pull requests.

Remove all-dependencies ?

Introduced a Dependabot configuration to automate dependency
updates for `.NET SDK`, `NuGet` packages, and `GitHub Actions`.

- Added `version: 2` to specify the configuration version.
- Configured `.NET SDK` updates to run weekly on Tuesdays
  with a limit of 1 open pull request.
- Configured `NuGet` updates to run weekly on Sundays with
  a limit of 3 open pull requests, grouping dependencies
  by patterns (e.g., `microsoft-sbom`, `testcontainers`, etc.).
- Configured `GitHub Actions` updates to run weekly on Sundays
  with a limit of 3 open pull requests.
- Disabled the `rebase-strategy` for `NuGet` and `GitHub Actions`.

Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>
Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>
@sunnynagavo sunnynagavo force-pushed the dev/nagavo/dependabotcheckin branch from 929698f to 4165e8c Compare November 24, 2025 00:13
@sunnynagavo
Copy link
Contributor Author

Hi, I have a similar setup with Microcks test containers, but the group configuration doesn’t seem to work: microcks/microcks-testcontainers-dotnet#169

Any idea what might be wrong?

Oh I looked at your PR, Missing method exception? did you check the version mismatch ? let me get this locally on my machine and test it and lets discuss on your PR instead of here.

Error:

[xUnit.net 00:02:16.43] Microcks.Testcontainers.Tests.Async.Kafka.MicrocksAsyncKafkaFunctionalityTest.ShouldReturnsCorrectStatusContractWhenGoodMessageIsEmitted [FAIL]
Failed Microcks.Testcontainers.Tests.Async.Kafka.MicrocksAsyncKafkaFunctionalityTest.ShouldReceivedKafkaMessageWhenMessageIsEmitted [5 ms]
Error Message:
System.MissingMethodException : Method not found: 'Void DotNet.Testcontainers.Configurations.ContainerConfiguration..ctor(DotNet.Testcontainers.Images.IImage, System.Func2<Docker.DotNet.Models.ImageInspectResponse,Boolean>, System.String, System.String, System.String, System.String, System.Collections.Generic.IEnumerable1<System.String>, DotNet.Testcontainers.Configurations.ComposableEnumerable1<System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.IResourceMapping>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Containers.IContainer>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.IMount>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Networks.INetwork>, System.Collections.Generic.IEnumerable1<System.String>, System.Collections.Generic.IEnumerable1<System.String>, DotNet.Testcontainers.Configurations.IOutputConsumer, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.WaitStrategy>, System.Func3<DotNet.Testcontainers.Containers.IContainer,System.Threading.CancellationToken,System.Threading.Tasks.Task>, System.Nullable1<Boolean>, System.Nullable1)'.

Copy link
Member

@lbroudoux lbroudoux left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks!

@sunnynagavo
Copy link
Contributor Author

sunnynagavo commented Nov 26, 2025

LGTM. Thanks!

Can one of you merge @SebastienDegodez or @lbroudoux . May be in future I can request for write access after I make more contributions to this repository

@lbroudoux
Copy link
Member

LGTM. Thanks!

Can one of you merge @SebastienDegodez or @lbroudoux . May be in future I can request for write access after I make more contributions to this repository

Yep sorry! It was late yesterday when I did the final review and couldn't merge at that time. Have a review on our GOVERNANCE doc to see how becoming a code owner at some point 😉

@lbroudoux lbroudoux merged commit 92a101f into microcks:main Nov 26, 2025
8 checks passed
@github-actions
Copy link

🎉 @sunnynagavo

You are now a Microcks community contributor! 💖

Thanks and congrats 🚀 on merging your first pull request! We are delighted and very proud of you! 👏

📢 If you're using Microcks in your organization, please add your company name to this list. 🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.

If you need to know why and how to add yourself to the list, please read the blog post "Join the Microcks Adopters list and Empower the vibrant open source Community 🙌"

Kudos and please keep going, we need you 🙌

🌟 ~~~~~~~~~ 🌟

📢 If you like Microcks, please ⭐ star ⭐ our repo to support it!

🙏 It really helps the project to gain momentum and credibility. It's a small contribution back to the project with a big impact.

@sunnynagavo
Copy link
Contributor Author

LGTM. Thanks!

Can one of you merge @SebastienDegodez or @lbroudoux . May be in future I can request for write access after I make more contributions to this repository

Yep sorry! It was late yesterday when I did the final review and couldn't merge at that time. Have a review on our GOVERNANCE doc to see how becoming a code owner at some point 😉

Sure thing, I will check it out. Thank you @lbroudoux

@SebastienDegodez
Copy link
Member

Hi, I have a similar setup with Microcks test containers, but the group configuration doesn’t seem to work: microcks/microcks-testcontainers-dotnet#169
Any idea what might be wrong?

Oh I looked at your PR, Missing method exception? did you check the version mismatch ? let me get this locally on my machine and test it and lets discuss on your PR instead of here.

Error:

[xUnit.net 00:02:16.43] Microcks.Testcontainers.Tests.Async.Kafka.MicrocksAsyncKafkaFunctionalityTest.ShouldReturnsCorrectStatusContractWhenGoodMessageIsEmitted [FAIL] Failed Microcks.Testcontainers.Tests.Async.Kafka.MicrocksAsyncKafkaFunctionalityTest.ShouldReceivedKafkaMessageWhenMessageIsEmitted [5 ms] Error Message: System.MissingMethodException : Method not found: 'Void DotNet.Testcontainers.Configurations.ContainerConfiguration..ctor(DotNet.Testcontainers.Images.IImage, System.Func2<Docker.DotNet.Models.ImageInspectResponse,Boolean>, System.String, System.String, System.String, System.String, System.Collections.Generic.IEnumerable1<System.String>, DotNet.Testcontainers.Configurations.ComposableEnumerable1<System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IReadOnlyDictionary2<System.String,System.String>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.IResourceMapping>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Containers.IContainer>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.IMount>, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Networks.INetwork>, System.Collections.Generic.IEnumerable1<System.String>, System.Collections.Generic.IEnumerable1<System.String>, DotNet.Testcontainers.Configurations.IOutputConsumer, System.Collections.Generic.IEnumerable1<DotNet.Testcontainers.Configurations.WaitStrategy>, System.Func3<DotNet.Testcontainers.Containers.IContainer,System.Threading.CancellationToken,System.Threading.Tasks.Task>, System.Nullable1<Boolean>, System.Nullable1)'.

TestContainers has a breaking change, it's very important update all package in the same time :(.

Dependabot don't respect the configuration file ...

sunnynagavo added a commit to sunnynagavo/microcks-aspire that referenced this pull request Nov 27, 2025
* Add Dependabot config for .NET, NuGet, and GitHub Actions

Introduced a Dependabot configuration to automate dependency
updates for `.NET SDK`, `NuGet` packages, and `GitHub Actions`.

- Added `version: 2` to specify the configuration version.
- Configured `.NET SDK` updates to run weekly on Tuesdays
  with a limit of 1 open pull request.
- Configured `NuGet` updates to run weekly on Sundays with
  a limit of 3 open pull requests, grouping dependencies
  by patterns (e.g., `microsoft-sbom`, `testcontainers`, etc.).
- Configured `GitHub Actions` updates to run weekly on Sundays
  with a limit of 3 open pull requests.
- Disabled the `rebase-strategy` for `NuGet` and `GitHub Actions`.

Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>

* Remove TestContainers

Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>

---------

Signed-off-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>
Co-authored-by: Santhosh Reddy Vootukuri (SUNNY) <nagavo@microsoft.com>
Signed-off-by: Santhosh Reddy Vootukuri <65618035+sunnynagavo@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Initialize dependabot configuration

4 participants