Skip to content

Commit

Permalink
+3
Browse files Browse the repository at this point in the history
  • Loading branch information
SunSerega committed Aug 8, 2024
1 parent d73a4f5 commit 6b8c658
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/upstream pretest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,16 @@ jobs:

- run: |
$submodules = Get-Content .gitmodules |
Select-String -Pattern 'path\s*=' |
ForEach-Object { $_ -replace '.*path\s*=\s*', '' }
git submodule --init
$submodules | Out-Host
foreach ($subm_path in git submodule --quiet foreach 'echo $path') {
Write-Host $subm_path
Push-Location $subm_path
git config --add remote.origin.fetch "+refs/pull/*/merge:refs/remotes/origin/pr/*"
git fetch --dry-run origin
Pop-Location
}

0 comments on commit 6b8c658

Please sign in to comment.