Skip to content

Commit 33aa25c

Browse files
authored
ci: adds comments
Co-authored-by: Vincent Biret <vincentbiret@hotmail.com>
1 parent 1b028e2 commit 33aa25c

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/sync-dev-to-vX.Y-dev.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ jobs:
4646
git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE
4747
git merge origin/$HEAD -m "Merge $HEAD into $SYNC"
4848
git checkout origin/$BASE src/
49+
# exclude mjs files because we want to sync from the head
50+
# neutralizes non-zero exit code because an empty selection result returns 1
4951
git checkout origin/$BASE -- tests/schema/ ':!*.mjs' || echo ""
5052
git commit -m "Restored src/ and tests/schema/" || echo ""
5153
git push -u origin $SYNC

.github/workflows/sync-main-to-dev.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ jobs:
4242
git checkout -b $SYNC origin/$SYNC || git checkout -b $SYNC origin/$BASE
4343
git merge origin/$HEAD -m "Merge $HEAD into $SYNC"
4444
git checkout origin/$BASE src/
45+
# exclude mjs files because we want to sync from the head
46+
# neutralizes non-zero exit code because an empty selection result returns 1
4547
git checkout origin/$BASE -- tests/schema/ ':!*.mjs' || echo ""
4648
git commit -m "Restored src/ and tests/schema/" || echo ""
4749
git push -u origin $SYNC

0 commit comments

Comments
 (0)