Skip to content

Commit

Permalink
+25
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 31, 2024
1 parent a71476d commit 3635517
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,13 @@ jobs:
Write-Host "- Branch for PR $pr_num doesn't exist"
if (-not $virgin_merge_test_exists) {
throw "Cannot do anything without $b_fork_virgin_merge_test"
git checkout $b_fork_merged_pr_head
if (-not $?) { throw "git checkout failed" }
git checkout -b $b_fork_pretest
if (-not $?) { throw "git checkout -b failed" }
git push --set-upstream origin $b_fork_pretest
if (-not $?) { throw "git push failed" }
throw "Branch $b_fork_virgin_merge_test was not created, so merge with $b_fork_main is not possible"
}
Write-Host "--- Creating:"
Expand Down

0 comments on commit 3635517

Please sign in to comment.