Skip to content

Restrict dependabot to patch-only updates for MSBuild/Roslyn/SQLite/SqlClient packages#38641

Merged
AndriySvyryd merged 4 commits into
mainfrom
copilot/change-dependabot-version-updates
Jul 15, 2026
Merged

Restrict dependabot to patch-only updates for MSBuild/Roslyn/SQLite/SqlClient packages#38641
AndriySvyryd merged 4 commits into
mainfrom
copilot/change-dependabot-version-updates

Conversation

Copilot AI commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

MSBuild and Roslyn packages (Microsoft.Build.Locator, Microsoft.CodeAnalysis.Workspaces.MSBuild, Microsoft.Build.Framework, Microsoft.Build.Utilities.Core, Microsoft.CodeAnalysis.CSharp.Workspaces) ship major versions tied to VS/SDK releases and patch versions that can introduce breaking tooling changes — minor updates are the safe update cadence.

SQLite minor package updates usually need special handling

SqlClient packages can change from LTS to STS on minor versions

Changes

  • All branches (main, release/8.0, release/9.0, release/10.0): added explicit ignore entries for the packages with update-types: ["version-update:semver-major", "version-update:semver-minor"], leaving only semver-patch updates enabled

…packages

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread .github/dependabot.yml Outdated
labels:
- "area-infrastructure"
ignore:
# Only update to the latest minor version, never major or patch

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot For the new packages change it to ignore major and minor versions instead

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done — updated all 5 packages across all 4 branches to ignore semver-major and semver-minor, so only patch updates are allowed (commit: $(git -C /home/runner/work/efcore/efcore rev-parse --short HEAD)).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@copilot Order the new packages alphabetically

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done in eb46d3b — packages are now ordered alphabetically across all 4 branches.

…low patch only)

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI requested a review from AndriySvyryd July 15, 2026 20:10
@AndriySvyryd AndriySvyryd changed the title Restrict dependabot to minor-only updates for MSBuild/Roslyn packages Restrict dependabot to patch-only updates for MSBuild/Roslyn packages Jul 15, 2026
Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Comment thread .github/dependabot.yml
…y restrictions

Co-authored-by: AndriySvyryd <6539701+AndriySvyryd@users.noreply.github.com>
Copilot AI requested a review from AndriySvyryd July 15, 2026 21:02
@AndriySvyryd
AndriySvyryd marked this pull request as ready for review July 15, 2026 21:03
@AndriySvyryd
AndriySvyryd requested review from a team and wtgodbe as code owners July 15, 2026 21:03
Copilot AI review requested due to automatic review settings July 15, 2026 21:03
@AndriySvyryd AndriySvyryd changed the title Restrict dependabot to patch-only updates for MSBuild/Roslyn packages Restrict dependabot to patch-only updates for MSBuild/Roslyn/SQLite/SqlClient packages Jul 15, 2026

Copilot AI 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.

Pull request overview

This PR updates the repository’s Dependabot configuration to constrain version update cadence for selected NuGet dependencies (MSBuild/Roslyn/SQLite/SqlClient) to reduce tooling break risk across main and release branches.

Changes:

  • Added per-package ignore rules to prevent semver-major and semver-minor updates for several MSBuild/Roslyn/SQLite (and release branches also SqlClient) packages.
  • Kept the existing release-branch rule that blocks semver-major updates for all packages (dependency-name: "*") while further tightening patch-only for specific packages.

Comment thread .github/dependabot.yml
Comment thread .github/dependabot.yml
@AndriySvyryd
AndriySvyryd merged commit 6f41857 into main Jul 15, 2026
21 checks passed
@AndriySvyryd
AndriySvyryd deleted the copilot/change-dependabot-version-updates branch July 15, 2026 21:50
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.

4 participants