We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bbffb6 commit eb41d97Copy full SHA for eb41d97
.github/workflows/sync-main.yml
@@ -30,10 +30,11 @@ jobs:
30
run: |
31
git config user.name "github-actions[bot]"
32
git config user.email "github-actions[bot]@users.noreply.github.com"
33
- git checkout -b sync-main-pr
+ git checkout -B sync-main-pr origin/sync-main-pr
34
35
echo "::group::Fetch"
36
git pull origin sync-main-pr; exitCode=$?; if [ $exitCode -ne 0 ]; then exitCode=0; fi
37
+ git config pull.rebase true
38
git pull origin main
39
git push --force origin sync-main-pr
40
echo "::endgroup::"
0 commit comments