diff --git a/.github/workflows/sync-dev-to-vX.Y-dev.yaml b/.github/workflows/sync-dev-to-vX.Y-dev.yaml index 30077ae9fe..b1ca733abd 100644 --- a/.github/workflows/sync-dev-to-vX.Y-dev.yaml +++ b/.github/workflows/sync-dev-to-vX.Y-dev.yaml @@ -46,7 +46,7 @@ jobs: git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE git merge origin/$HEAD -m "Merge $HEAD into $SYNC" git checkout origin/$BASE src/ - git checkout origin/$BASE tests/schema/ + git checkout origin/$BASE -- tests/schema/ ':*.mjs' git commit -m "Restored src/ and tests/schema/" || echo "" git push -u origin $SYNC diff --git a/.github/workflows/sync-main-to-dev.yaml b/.github/workflows/sync-main-to-dev.yaml index c6f9919a7d..7d62e30163 100644 --- a/.github/workflows/sync-main-to-dev.yaml +++ b/.github/workflows/sync-main-to-dev.yaml @@ -42,7 +42,7 @@ jobs: git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE git merge origin/$HEAD -m "Merge $HEAD into $SYNC" git checkout origin/$BASE src/ - git checkout origin/$BASE tests/schema/ + git checkout origin/$BASE -- tests/schema/ ':*.mjs' git commit -m "Restored src/ and tests/schema/" || echo "" git push -u origin $SYNC