diff --git a/.github/workflows/upstream force tracking.yaml b/.github/workflows/upstream force tracking.yaml index 6cf387b3..d58efff8 100644 --- a/.github/workflows/upstream force tracking.yaml +++ b/.github/workflows/upstream force tracking.yaml @@ -108,7 +108,7 @@ jobs: if (-not $?) { throw "git remote add failed" } git config --replace-all remote.upstream.fetch '+refs/pull/*:refs/remotes/upstream/pull/*' if (-not $?) { throw "git config failed" } - git fetch upstream + git fetch upstream | Out-Null if (-not $?) { throw "git fetch failed" } $l_open_prs = @() @@ -155,13 +155,14 @@ jobs: if ($pr_num -notin $l_force_tracking) { Write-Host "Create force-tracking branch for PR $pr_num" - git checkout -b $b_ft $b_r_upstream + git checkout -b $b_ft $b_r_upstream | Out-Null if (-not $?) { throw "git checkout failed" } git push --set-upstream origin $b_ft if (-not $?) { throw "git push failed" } continue } - # Write-Host "Checkout force-tracking branch for PR $pr_num" + #TODO comment out + Write-Host "Checkout force-tracking branch for PR $pr_num" git checkout --track $b_r_ft if (-not $?) { throw "git checkout failed" }