Skip to content

ci: keep Dependabot off action majors and off the build-only NU1903 - #25

Merged
CaffeinatedCoder merged 2 commits into
mainfrom
ci/dependabot-scope
Aug 16, 2026
Merged

ci: keep Dependabot off action majors and off the build-only NU1903#25
CaffeinatedCoder merged 2 commits into
mainfrom
ci/dependabot-scope

Conversation

@CaffeinatedCoder

Copy link
Copy Markdown
Owner

Dependabot's first two PRs after #18 landed (#23, #24) both propose changes this repository had already decided against; this makes those decisions rules Dependabot follows.

  • build(deps): bump the actions group with 4 updates #23 bumps upload-artifact → v7 and download-artifact → v8. release.yml documents why those majors are declined — v8 stops auto-unzipping, which would break Push to NuGet finding dist/*.nupkg on the publish path. → the actions ecosystem now ignores version-update:semver-major; minors and patches still arrive weekly, grouped. A major is a deliberate change with a test behind it.
  • Bump the nuget group with 1 update #24 "fixes" NU1903 by adding a direct System.Security.Cryptography.Xml reference to the core package. The vulnerable path is Microsoft.EntityFrameworkCore.Design (PrivateAssets=all) — consumers never receive it, and Directory.Build.props keeps NU1903 a warning for exactly that reason. The remedy would ship every consumer a dependency they never had, to silence a build-machine warning. → a nuget entry for src/* with open-pull-requests-limit: 0 (no version updates) whose only purpose is that security updates there honour its ignore of that package.

Reasons are in the file and in CLAUDE.md. dependabot.yml parses; ClaudeMdConsistencyTests passes.

After merging this: close #23 and #24. Dependabot won't recreate them.

🤖 Generated with Claude Code

Dependabot's first two PRs after #18 both proposed changes this repository
had already decided against. #23 bumps upload-artifact to v7 and
download-artifact to v8 — release.yml documents why those majors are
declined (v8 stops auto-unzipping, which would break the push step on the
publish path). #24 "fixes" the NU1903 warning by adding a direct
System.Security.Cryptography.Xml reference to the core package: the
vulnerable path is Microsoft.EntityFrameworkCore.Design (PrivateAssets=all),
which consumers never receive, and the remedy would ship them a dependency
they never had to silence a warning that only ever concerned build machines
(Directory.Build.props documents keeping it a warning for exactly that
reason).

The actions ecosystem now ignores semver-major updates — minors and patches
still arrive weekly, a major is a deliberate change with a test behind it.
A nuget entry for src/ with open-pull-requests-limit 0 proposes no version
updates and exists only so security updates there honour its ignore of
System.Security.Cryptography.Xml. Both reasons are in the file.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@CaffeinatedCoder
CaffeinatedCoder merged commit 11bd06a into main Aug 16, 2026
9 checks passed
@CaffeinatedCoder
CaffeinatedCoder deleted the ci/dependabot-scope branch August 16, 2026 13:26
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.

1 participant