From aa8fd28bd5a6a22f380989c8237ac1b711e5b2f6 Mon Sep 17 00:00:00 2001 From: Shahar Naveh <50263213+ShaharNaveh@users.noreply.github.com> Date: Fri, 10 May 2024 13:53:37 +0300 Subject: [PATCH] Update updates-submodules.yaml --- .github/workflows/updates-submodules.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/updates-submodules.yaml b/.github/workflows/updates-submodules.yaml index 3c9edf9..dd9fbcf 100644 --- a/.github/workflows/updates-submodules.yaml +++ b/.github/workflows/updates-submodules.yaml @@ -10,7 +10,11 @@ jobs: submodules: recursive - name: Update module run: | - git submodule update --init --recursive --checkout -f --remote + ls + git submodule foreach 'git reset --hard && git checkout . && git clean -fdx' + git submodule update --init --recursive --rebase --force + #git submodule update --init --recursive --checkout -f --remote + ls git config --global user.name "GitHub Action" git config --global user.email "noreply@github.com" git status