We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9b05e9a commit bd03d6aCopy full SHA for bd03d6a
.github/workflows/submodule.yml
@@ -18,7 +18,11 @@ jobs:
18
- name: get changes
19
id: changes
20
run: |
21
- git diff origin/${{ github.base_ref }} --submodule=log | tee changes.txt
+ for sm in $(grep 'path = ' .gitmodules | awk '{print $3}'); do
22
+ echo "SUBMODULE $sm ===========" | tee changes.txt
23
+ git diff origin/${{ github.base_ref }} --submodule=log -- $sm | tee changes.txt
24
+ echo "" | tee changes.txt
25
+ done
26
echo "changes<<EOF" >> $GITHUB_OUTPUT
27
cat changes.txt >> $GITHUB_OUTPUT
28
echo "EOF" >> $GITHUB_OUTPUT
0 commit comments