ci: change check-vendor to verify git status has no changes (#9615)
This commit is contained in:
parent
e54d451e25
commit
90cf562311
|
@ -153,8 +153,9 @@ jobs:
|
|||
- run:
|
||||
command: make update-vendor
|
||||
- run: |
|
||||
if ! git diff --exit-code; then
|
||||
echo "Git directory has vendor changes"
|
||||
if [[ -z $(git status -s) ]]; then
|
||||
echo "Git directory has changes"
|
||||
git status -s
|
||||
exit 1
|
||||
fi
|
||||
- run: *notify-slack-failure
|
||||
|
|
Loading…
Reference in New Issue