From 363ae046c86e1f0caccd2397ffac267d73a8b5d6 Mon Sep 17 00:00:00 2001 From: Ismo Vuorinen Date: Thu, 14 Aug 2025 09:53:43 +0300 Subject: [PATCH] fix(ci): update submodules --- .github/workflows/update-submodules.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 9f66659..e29cd73 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -29,20 +29,22 @@ jobs: token: ${{secrets.GITHUB_TOKEN}} - name: Config Git User + shell: bash run: | git config --global user.name "${{ github.actor }}" git config --global user.email "${{ github.actor }}@users.noreply.github.com" - name: Update submodules + shell: bash run: | git submodule sync - git submodule foreach --quiet ' + git submodule foreach --quiet " tag="$(git describe --tags --abbrev=0 origin/HEAD)" if [ "$(git describe --tags)" != "$tag" ]; then git checkout --quiet "$tag" echo "$name updated to $tag" fi - ' + " if git diff --quiet; then echo "No updates for submodules."