Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(ci) make the "dirty git tree" CI failure clearer

Saúl Ibarra Corretgéd2c4e81e2577
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 782e1fccbb..8a8ed21e5a 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -16,10 +16,8 @@ jobs:
run: git status
- name: Normalize lang files to ensure sorted
run: npm run lang-sort
- - name: Check git diff
- run: git diff
- name: Check if the git repository is clean
- run: exit $( git status --porcelain --untracked-files=no | head -255 | wc -l )
+ run: $(exit $(git status --porcelain --untracked-files=no | head -255 | wc -l)) || (echo "Dirty git tree"; git diff; exit 1)
- run: npm run lint
- run: for file in lang/*.json; do npx --yes jsonlint -q $file || exit 1; done
- run: make