Skip to content

Commit

Permalink
+10
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 31, 2024
1 parent f0e478f commit b4d0059
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,11 @@ jobs:
meta.pr_merge_sha=$pr_merge_sha
"@
if ($fork_pretest_sha -eq $fork_pretest_old_sha) {
Write-Host "Merge with ${fork_main_branch_name} was skipped, adding an empty meta commit"
git commit -a --allow-empty -m $empty_pretest_message
if (-not $?) { throw "git commit failed" }
git push
if (-not $?) { throw "git push failed" }
$fork_pretest_sha = git rev-parse HEAD
}
Expand All @@ -409,7 +413,7 @@ jobs:
Write-Host "Branch for PR $pr_num exists. Merging with ${core_main_branch_name}:"
git checkout $core_branch_name
if (-not $?) { throw "git checkout failed" }
git merge $core_main_branch_name -m "[trivial] Merge $core_branch_name into subm-pretest/... branch"
git merge $core_main_branch_name -m "[trivial] Merge $core_main_branch_name into subm-pretest/... branch"
if (-not $?) { throw "git merge failed" }
git push
if (-not $?) { throw "git push failed" }
Expand Down Expand Up @@ -464,7 +468,7 @@ jobs:
path: './core'
fetch-depth: 0
sparse-checkout-cone-mode: false
sparse-checkout: '<NOTHING>'
sparse-checkout: './.gitmodules'

- name: checkout subm fork
uses: actions/checkout@main
Expand Down Expand Up @@ -516,8 +520,6 @@ jobs:
Write-Host '~~~~~'
}
Get-Content './.gitmodules'
Pop-Location
Expand Down

0 comments on commit b4d0059

Please sign in to comment.