diff --git a/.github/workflows/update-submodules.yml b/.github/workflows/update-submodules.yml index 6c77125..1e58d72 100644 --- a/.github/workflows/update-submodules.yml +++ b/.github/workflows/update-submodules.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v4 with: submodules: true - fetch-depth: 0 + fetch-depth: 1 token: ${{secrets.GITHUB_TOKEN}} - name: Config Git User run: | @@ -33,7 +33,7 @@ jobs: echo "$name updated to $tag" fi ' - + if git diff --quiet; then echo "No updates for submodules." else