From 69b63529073edd236d4f57b6fdc36ed03ad761af Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Sun, 9 Jul 2023 23:53:26 -0500 Subject: [PATCH] Update update-submodules.yml --- .github/workflows/update-submodules.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 0e630e9..1cd1179 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -18,8 +18,7 @@ jobs: - name: Update submodules run: | - git submodule update --init --recursive - git submodule foreach 'git fetch origin; git checkout origin/main' + git submodule update --init --recursive --remote git add . git commit -m "updated submodules" git push origin