+13 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upstream pretest | |
on: | |
push: | |
schedule: | |
- cron: '0 0 * * *' | |
workflow_dispatch: | |
#concurrency: | |
# group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
# cancel-in-progress: false | |
# | |
permissions: | |
contents: write | |
jobs: | |
enmr-PRs: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@main | |
- run: | | |
git config --global core.autocrlf false | |
git config --global user.name "sun pack bot" | |
git config --global user.email "[email protected]" | |
git config --global --add url.https://github.com/.insteadOf "[email protected]:" | |
git submodule update --init --recursive | |
Write-Host (git submodule --quiet foreach 'echo $path').Length | |
Write-Host (git submodule --quiet foreach 'echo $path' 2>1).Length | |
git submodule --quiet foreach 'echo $path' | |
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 | |
} | |