From be09114dfbc7e5919a8f36d041b69c17952149e5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 22:03:51 +0000 Subject: [PATCH 1/2] Initial plan From 8ebf3baf605bb03bcf36a8c96dfd7b8ae0651317 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 21 Jan 2026 22:05:47 +0000 Subject: [PATCH 2/2] Fix PushChanges to return empty string for direct commits and update notice message Co-authored-by: mazhelez <43066499+mazhelez@users.noreply.github.com> --- Internal/Deploy.ps1 | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Internal/Deploy.ps1 b/Internal/Deploy.ps1 index 8200f5504..1f8c978a4 100644 --- a/Internal/Deploy.ps1 +++ b/Internal/Deploy.ps1 @@ -26,6 +26,7 @@ function PushChanges # Direct commit to base branch invoke-git commit --allow-empty -m $CommitMessage invoke-git push origin $BaseBranch + return "" } else { # Create PR to base branch if (-not (git ls-remote --heads origin $BaseBranch)) { @@ -245,7 +246,11 @@ try { Set-Content -Path (Join-Path "./.github" "RELEASENOTES.copy.md") -Value $releaseNotes -Encoding utf8 } $prUrl = PushChanges -BaseBranch $branch -CommitMessage "Deploying AL-Go from $algoBranch ($srcSHA) to $branch" -DirectCommit $directCommit - Write-Host "::notice::Deployed to $repo branch $branch. PR URL: $prUrl" + if ($prUrl) { + Write-Host "::notice::Deployed to $repo branch $branch. PR URL: $prUrl" + } else { + Write-Host "::notice::Deployed to $repo branch $branch" + } } } finally {