Skip to content

Commit 9674ae0

Browse files
committed
🔄 | fix submodule workflow to check top-level only
Signed-off-by: tr1sm0s1n <[email protected]>
1 parent b5e01c5 commit 9674ae0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/update-submodules.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ jobs:
3434
3535
- name: Update submodules
3636
run: |
37-
git submodule update --remote --recursive
37+
git submodule foreach --quiet '
38+
echo "Updating $name ..."
39+
git pull origin $(git rev-parse --abbrev-ref HEAD)
40+
'
3841
3942
- name: Check for changes
4043
id: changes

0 commit comments

Comments
 (0)