diff --git a/.github/workflows/upstream pretest.yaml b/.github/workflows/upstream pretest.yaml index c3a97de7..c875de25 100644 --- a/.github/workflows/upstream pretest.yaml +++ b/.github/workflows/upstream pretest.yaml @@ -106,7 +106,7 @@ jobs: $fork_url = "git@github.com:SunSerega/${repo_name}.git" $head_sha_by_pr = @{} - foreach ($l in Get-GitRemoteBranches $fork_url 'refs/force-tracking/*') { + foreach ($l in Get-GitRemoteBranches $fork_url 'refs/heads/force-tracking/*') { $sha = $l.sha $pr_num = $l.matches[1] Write-Host "- Found open PR $pr_num with latest sha $sha"