Fix "[main] Update Package Versions" job failing with merge queue enabled#8922
Conversation
|
Could not find a linked ADO work item. Please link one by using the pattern 'AB#' followed by the relevant work item number. You may use the 'Fixes' keyword to automatically resolve the work item when the pull request is merged. E.g. 'Fixes AB#1234' |
Copilot PR ReviewIteration 1 · Outcome: not-applicable
Knowledge source: https://github.com/microsoft/BCQuality@822cae1b2771ac25f665f73369f69093bd4fd630 No findings were posted for this iteration. Orchestrator pre-filter (13 file(s) excluded)
Findings produced by the Copilot CLI agent against BCQuality at |
The scheduled [main] Update Package Versions job exits with code 1 even after successfully opening its automation PR. With the repository's merge queue enabled,
gh pr merge --delete-branchis rejected, failing the step:Change
build/scripts/AutomatedSubmission.psm1: drop the incompatible--delete-branchflag from the auto-merge call.Head-branch cleanup is governed by the repo's "automatically delete head branches" setting, so behavior is unchanged for merge-queue merges.