ci: sync NuGet lock files on Dependabot PRs - #25
Merged
Conversation
Dependabot regenerates only the directly-referencing project lock on a NuGet bump, leaving the test project CentralTransitive entries stale and failing locked-mode restore (NU1004). This workflow restores the whole solution on Dependabot PRs and commits the refreshed locks back through the GitHub API, so the commit is GitHub-signed and re-triggers the PR checks. Signed-off-by: Synertry <60792595+Synertry@users.noreply.github.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.
Summary
.github/workflows/dependabot-lockfiles.yml: on Dependabot PRs, restore the whole solution with--force-evaluateand commit the refreshedpackages.lock.jsonfiles back through the GitHub API (createCommitOnBranch), which signs the commit (satisfiesrequired_signatures) and re-triggers the PR checks.OpenTDBLookup.TestsCentralTransitive entries stale and failing locked-mode restore (NU1004). Keeps full lock coverage on both projects.dependabot[bot]; the PAT-authored commit re-runs CI under a non-Dependabot actor so the job does not re-trigger itself.