diff options
author | Stefan Giehl <stefan@matomo.org> | 2021-02-26 11:16:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-26 11:16:11 +0300 |
commit | dc45d87551d2f6f26b247002fe74bd07458630c4 (patch) | |
tree | 78233799d0f69212896cc1eb98f98c2222a32e47 | |
parent | 379a71244468b30964dfe8fa44a2b36c66763f59 (diff) |
avoid failing run if no updates are available
-rw-r--r-- | .github/workflows/submodules.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml index 25f4247923..bce7850424 100644 --- a/.github/workflows/submodules.yml +++ b/.github/workflows/submodules.yml @@ -45,7 +45,7 @@ jobs: - name: Check for changes id: changes run: | - git submodule | grep -oE '^\+[0-9a-f]+ ([A-z\/\-]+)' | cut -d' ' -f 2 | xargs git add + git submodule | grep -oE '^\+[0-9a-f]+ ([A-z\/\-]+)' | cut -d' ' -f 2 | xargs -r git add IFS=$'\n' changes=( $(git diff --staged --numstat | grep -oE '[A-z0-9\/\-]{2,}' ) ) |