Skip to content

Commit

Permalink
+2
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Sep 14, 2024
1 parent a349413 commit 4f61a03
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -549,20 +549,11 @@ jobs:
if (-not $?) { throw "git push failed" }
} elseif ($need_commit_even_minimal) {
$pre_amend_sha = git rev-parse HEAD
Write-Host "- Found insignificant changes after merge conflict ($pre_amend_sha)"
Write-Host '~~~~~'
git log -5
if (-not $?) { throw "git log failed" }
Write-Host '~~~~~'
git log -5 "origin/$b_core_subm_pretest"
if (-not $?) { throw "git log failed" }
Write-Host '~~~~~'
Write-Host "- Found insignificant changes after merge conflict"
git commit -a --amend --no-edit
if (-not $?) { throw "git commit failed" }
git push --force-with-lease=origin:$pre_amend_sha
git push --force-with-lease
if (-not $?) { throw "git push failed" }
} else {
Expand Down

0 comments on commit 4f61a03

Please sign in to comment.