Update sync-main.yml

This commit is contained in:
dilanbhalla
2025-04-08 15:28:59 -07:00
committed by GitHub
parent 9bbffb6fd8
commit eb41d97d48

View File

@@ -30,10 +30,11 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b sync-main-pr
git checkout -B sync-main-pr origin/sync-main-pr
echo "::group::Fetch"
git pull origin sync-main-pr; exitCode=$?; if [ $exitCode -ne 0 ]; then exitCode=0; fi
git config pull.rebase true
git pull origin main
git push --force origin sync-main-pr
echo "::endgroup::"