From 36bc881105fa43a0e1134eac32419bd6b9c70a49 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 13 Aug 2026 13:17:54 -0400 Subject: [PATCH] ci: fixes sync script to avoid grabbing old js files Signed-off-by: Vincent Biret --- .github/workflows/sync-dev-to-vX.Y-dev.yaml | 2 +- .github/workflows/sync-main-to-dev.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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