Skip to content

Ignore Roslyn package bumps in Dependabot - #387

Open
oschwald wants to merge 1 commit into
mainfrom
greg/ignore-roslyn-dependabot-bumps
Open

oschwald wants to merge 1 commit into
mainfrom
greg/ignore-roslyn-dependabot-bumps

Conversation

@oschwald

@oschwald oschwald commented Oct 9, 2026 •

Copy link
Copy Markdown
Member

The source generator pins Microsoft.CodeAnalysis.CSharp to the lowest version that provides the APIs it uses, so consumers on older .NET SDKs can still load it. Dependabot bumps to the Roslyn packages raise that floor, so this ignores Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Analyzers in the NuGet update config. Both are updated by hand from now on.

This replaces #361.

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Adjusted automated maintenance settings to exclude selected items from routine update checks.
    • This is an internal maintenance change and does not affect product features or behavior visible to end users. No other user-facing changes are included in this release.

The source generator pins Microsoft.CodeAnalysis.CSharp to the lowest
version that provides the APIs it uses. This lets consumers on older
SDKs load the generator. Automatic bumps raise that floor.

Ignore Microsoft.CodeAnalysis.CSharp and
Microsoft.CodeAnalysis.Analyzers in Dependabot. Update both by hand.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 9, 2026 20:22

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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@coderabbitai

coderabbitai Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: b08c22e8-53e2-475b-8ec7-87018204abc1

📥 Commits

Reviewing files that changed from the base of the PR and between 493301d and 79c1d4a.


📒 Files selected for processing (1)
  • .github/dependabot.yml

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.



📝 Walkthrough

Walkthrough

The Dependabot NuGet configuration now ignores updates to Microsoft.CodeAnalysis.CSharp and Microsoft.CodeAnalysis.Analyzers. A comment describes the manual-update policy for these packages.

Changes

NuGet Update Policy

Layer / File(s) Summary
Dependabot ignore rules
.github/dependabot.yml
Adds a comment about manual updates and configures Dependabot to ignore updates to the two specified packages.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Other

Suggested reviewers: horgh


Merge Risk: ⚪ Minimal · up to 79c1d

The configuration implements the stated manual-update policy. It is ready to merge after normal checks; maintainers should ensure their manual process includes security alerts.

Pre-merge checks | Passed 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly and concisely describes the main change: configuring Dependabot to ignore Roslyn package bumps.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.


✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR


  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

A rabbit checks the package list,
Two updates hop away.
A note says they are changed by hand,
So Dependabot lets them stay.
The config rests in quiet order,
And I nibble clover by the bay.

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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants