Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Giehl <stefan@matomo.org>2021-02-26 11:37:31 +0300
committerGitHub <noreply@github.com>2021-02-26 11:37:31 +0300
commit10c56b158ca481f786776b29c88f2455f9e821ad (patch)
treee58eecbd9796cab0c0e615f7c077675631beb1e1 /.github
parentdc45d87551d2f6f26b247002fe74bd07458630c4 (diff)
fix submodule action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/submodules.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/submodules.yml b/.github/workflows/submodules.yml
index bce7850424..d3125a90ae 100644
--- a/.github/workflows/submodules.yml
+++ b/.github/workflows/submodules.yml
@@ -47,7 +47,7 @@ jobs:
run: |
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,}' ) )
+ changes=( $(git diff --staged --numstat | grep -oE '[A-z0-9\/\-]{2,}' || true ) )
# abort here if no change available
if [[ ${#changes[@]} -eq 0 ]]