Skip to content

feat: Enable Dependabot for NuGet (src) - #1653

Merged
HofmeisterAn merged 1 commit into
developfrom
feature/enable-dependabot-for-src
Mar 7, 2026
Merged

HofmeisterAn merged 1 commit into
developfrom
feature/enable-dependabot-for-src

Conversation

@HofmeisterAn

@HofmeisterAn HofmeisterAn commented Mar 7, 2026 •

Copy link
Copy Markdown
Collaborator

Summary by CodeRabbit

  • Chores
    • Refined NuGet dependency update management configuration to improve handling of package upgrades across the codebase.

@HofmeisterAn HofmeisterAn added the chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups label Mar 7, 2026
@netlify

netlify Bot commented Mar 7, 2026 •

Copy link
Copy Markdown

βœ… Deploy Preview for testcontainers-dotnet ready!

Name Link
πŸ”¨ Latest commit baa4d24
πŸ” Latest deploy log https://app.netlify.com/projects/testcontainers-dotnet/deploys/69abe1bf174fc6000824461a
😎 Deploy Preview https://deploy-preview-1653--testcontainers-dotnet.netlify.app
πŸ“± Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai

coderabbitai Bot commented Mar 7, 2026 •

Copy link
Copy Markdown

Walkthrough

The Dependabot configuration is updated to scope NuGet dependency updates to the /src directory, replace a broad dependency ignore with explicit semver-major rules for Microsoft packages, and introduce two categorized update groups for patch/minor and major updates.

Changes

Cohort / File(s) Summary
Dependabot Configuration
.github/dependabot.yml
Modified NuGet update scope to /src, replaced blanket dependency ignore with explicit per-package semver-major rules for Microsoft.Bcl.* and Microsoft.Extensions.*, and introduced separate update groups for patch/minor and major version updates.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

enhancement

Poem

🐰 Hopping through configs with glee,
We've scoped our updates to /src, you see!
Microsoft packages now clearly defined,
Patch and major groups, neatly aligned.
Dependabot's logic is tidier, indeed!

πŸš₯ Pre-merge checks | βœ… 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning No pull request description was provided, missing required sections: 'What does this PR do?' and 'Why is it important?' as specified in the template. Add a pull request description following the template with explanations of what changes were made and the rationale for configuring Dependabot specifically for the src directory.
βœ… Passed checks (2 passed)
Check name Status Explanation
Title check βœ… Passed The title clearly describes the main change: enabling Dependabot for NuGet dependencies in the src directory, which matches the modification to .github/dependabot.yml.
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feature/enable-dependabot-for-src

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

πŸ€– Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In @.github/dependabot.yml:
- Line 14: The Dependabot config changed the NuGet updater's target to the entry
with "directory: /src", which unintentionally drops coverage for centrally
managed packages outside /src; update .github/dependabot.yml to restore NuGet
updates for the root-managed packages by either adding a separate NuGet update
block with "directory: /" (or other relevant paths like "build/", "tests/",
"examples/") alongside the existing "directory: /src" entry, or reintroduce a
root-level NuGet entry so the Directory.Packages.props-managed dependencies
continue to receive automated PRs.

ℹ️ Review info
βš™οΈ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 10e7034f-0f21-4337-9d4b-86e3b6190cdd

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between 4e45bfe and baa4d24.

πŸ“’ Files selected for processing (1)
  • .github/dependabot.yml

Comment thread .github/dependabot.yml Resolved
@HofmeisterAn
HofmeisterAn merged commit f200bf6 into develop Mar 7, 2026
11 checks passed
@HofmeisterAn
HofmeisterAn deleted the feature/enable-dependabot-for-src branch March 7, 2026 09:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

chore A change that doesn't impact the existing functionality, e.g. internal refactorings or cleanups

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant