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:16:11 +0300
committerGitHub <noreply@github.com>2021-02-26 11:16:11 +0300
commitdc45d87551d2f6f26b247002fe74bd07458630c4 (patch)
tree78233799d0f69212896cc1eb98f98c2222a32e47 /.github
parent379a71244468b30964dfe8fa44a2b36c66763f59 (diff)
avoid failing run if no updates are available
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 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,}' ) )