Add Dependabot for NuGet packages and GitHub Actions - #50
Merged
Conversation
Nothing was watching the three NuGet packages or the five actions the workflows pin, so both drift silently until something breaks. Weekly checks on both. Minor and patch NuGet bumps are grouped into one PR; majors stay separate so a breaking WPF-UI or WebView2 change gets reviewed on its own. Action bumps are grouped together. ci.yml already runs on pull_request, so every bump is smoke-tested by build.ps1. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Nothing in the repo watches the dependencies we pull from outside. The three NuGet packages in
src/ExplorerHelperand the five actions the workflows pin drift silently until something breaks or a security advisory lands. This adds.github/dependabot.ymlcovering both.What changed
A single new file,
.github/dependabot.yml, with two ecosystems:/. Dependabot scans down from there, so it picks upsrc/ExplorerHelper(CommunityToolkit.Mvvm, Microsoft.Web.WebView2, WPF-UI) and any project added later without needing a second entry. Minor and patch bumps are grouped into one PR; majors stay ungrouped so a breaking WPF-UI or WebView2 change gets reviewed on its own.ci.yml,pages.yml, andrelease.yml, grouped into a single PR.Both check weekly, Monday 06:00 America/Chicago. NuGet is capped at 5 open PRs.
Notes for review
ci.ymltriggers onpull_request, so every bump Dependabot opens is smoke-tested throughbuild.ps1— the publish path, not just a compile. No workflow changes were needed to get that.src/ExplorerHelper.ShellExtensionhas noPackageReferences, so there is nothing for the NuGet updater to track there. CI's second step still builds it explicitly (issue [BUG] CI never compiles ExplorerHelper.ShellExtension; it can break on main undetected #37), which is what catches an action bump that breaks the extension build.dependenciesandcilabels on the repo out-of-band, since neither existed and Dependabot silently drops labels it cannot find.release.ymlbuilds the Inno Setup installer, and Inno isn't a dependency in any ecosystem Dependabot understands. That stays a manual bump.🤖 Generated with Claude Code