mirror of
https://github.com/status-im/consul.git
synced 2025-02-01 08:27:20 +00:00
ci: change check-vendor to verify git status has no changes (#9615)
This commit is contained in:
parent
7cddf128e9
commit
4d470f9822
@ -141,8 +141,9 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
command: make update-vendor
|
command: make update-vendor
|
||||||
- run: |
|
- run: |
|
||||||
if ! git diff --exit-code; then
|
if [[ -z $(git status -s) ]]; then
|
||||||
echo "Git directory has vendor changes"
|
echo "Git directory has changes"
|
||||||
|
git status -s
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user