ci(submodule): only commit on diff
This commit is contained in:
parent
2f10167b88
commit
bd003dfcf6
|
@ -31,7 +31,7 @@ jobs:
|
|||
run: |
|
||||
git status
|
||||
git submodule status
|
||||
git commit -am "chore: update submodule references"
|
||||
git diff-index --quiet HEAD || git commit -am "chore: update submodule references"
|
||||
git status
|
||||
git submodule status
|
||||
git push
|
||||
|
|
Loading…
Reference in New Issue
Block a user