diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 3c6607b8..2a6b0853 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -25,7 +25,7 @@ jobs: run: | git submodule foreach 'git fetch && git merge -X theirs || true' - # Commit and push changes if any submodules were updated + # Commit and push changes if there are any updates - name: Commit and push changes run: | if [ -n "$(git status --porcelain)" ]; then @@ -36,3 +36,4 @@ jobs: git push origin HEAD else echo "No changes in submodules to commit." + fi