diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index e1629952..432c6a4c 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -56,6 +56,7 @@ jobs: - name: checkout uses: actions/checkout@main with: + fetch-depth: 0 sparse-checkout-cone-mode: false sparse-checkout: | .gitmodules @@ -144,6 +145,9 @@ jobs: Write-Host "==============================" Write-Host "Fetching extra data" + Write-Host "- Fetching core history" + # To check if trivial_core_sha was force-pushed, we need all branches and their relationships in core repo + git fetch --all $core_pretest_pr_nums = @{} $subm_fetch_specs = @{} foreach ($l in Get-GitRemoteBranches origin 'refs/heads/subm-pretest/*/*/*') { @@ -163,6 +167,7 @@ jobs: Write-Host "--- MISSING FORK PRETEST" } } + Write-Host "- Fetching subm pretest branches" # To check which pretest branches are up to date and should not be tested # - Only need commit messages, not files foreach ($repo in $submodule_by_repo.Keys) { @@ -175,6 +180,11 @@ jobs: + # Write-Host "==============================" + # git --no-pager log --graph --pretty=oneline --abbrev-commit --all + + + Write-Host "==============================" Write-Host "Building exec_list" $exec_list = @() @@ -226,7 +236,7 @@ jobs: Write-Host "----- HEAD is at $head_sha" } - $old_head_fwd_c = git rev-list --count $sha..HEAD + $old_head_fwd_c = git rev-list --count "$head_sha..$sha" if (-not $?) { throw "git rev-list failed" } if ($old_head_fwd_c -ne 0) { diff --git a/DataScraping/Reps/OpenCL-Docs b/DataScraping/Reps/OpenCL-Docs index 8c790eb1..90516f28 160000 --- a/DataScraping/Reps/OpenCL-Docs +++ b/DataScraping/Reps/OpenCL-Docs @@ -1 +1 @@ -Subproject commit 8c790eb10d84a7e0ff89a2773553c59f9fb0b135 +Subproject commit 90516f28858ba03a7fcf679286a73893b60c0900