Skip to content

OneLocBuild: Ensure AutoCompletePr setting is respected#9067

Merged
jonfortescue merged 1 commit intodotnet:mainfrom
peterwald:pw-oneloc-fix
Apr 18, 2022
Merged

OneLocBuild: Ensure AutoCompletePr setting is respected#9067
jonfortescue merged 1 commit intodotnet:mainfrom
peterwald:pw-oneloc-fix

Conversation

@peterwald
Copy link
Copy Markdown
Member

When CreatePr is false, isCreatePrSelected is set but isAutoCompletePrSelected is left unset. The build task interprets the unset value as true, which causes the task to try to auto complete the PR even if the behavior is unwanted. This change moves the setting outside of the conditional gated by CreatePr so that the AutoCompletePr setting will always be passed into the task.

See #9048

/cc @AbhitejJohn @jonfortescue

@jonfortescue jonfortescue merged commit 95549a3 into dotnet:main Apr 18, 2022
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.

3 participants