Skip dependency update when non-bot commits are detected on PR branch#7050
Merged
lbussell merged 3 commits intodotnet:nightlyfrom Feb 23, 2026
Merged
Skip dependency update when non-bot commits are detected on PR branch#7050lbussell merged 3 commits intodotnet:nightlyfrom
lbussell merged 3 commits intodotnet:nightlyfrom
Conversation
mthalman
approved these changes
Feb 23, 2026
lbussell
added a commit
to lbussell/dotnet-docker
that referenced
this pull request
Mar 5, 2026
lbussell
added a commit
to lbussell/dotnet-docker
that referenced
this pull request
Mar 6, 2026
lbussell
added a commit
that referenced
this pull request
Mar 6, 2026
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.
When the nightly dependency update pipeline runs and an existing update PR already exists (e.g.,
[nightly] Update dependencies from dotnet/dotnet), theUpdateExistingGitHubPullRequestmethod replaces the entire PR branch contents with the newly computed state. This overwrites any manual commits that someone may have added to the PR — such as fixups, cherry-picks, or review-related changes.Changes
Before pushing updated dependency changes to an existing PR branch, we now check whether any commits on the branch were authored by someone other than the bot. If non-bot commits are found:
dotnet runcommand that authors can copy-paste to apply the dependency update locally on their branch.Scope
This affects nightly update PRs for:
dotnet/dotnetdotnet/aspireIt does not affect: