From 7ea2e557930dd4219bac6521b57bc80d0d732172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Tue, 27 Sep 2022 01:38:26 +0200 Subject: [PATCH] ci: Check for uncrustify changes in a safer way --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5a76327d..8854628c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -124,7 +124,7 @@ test_indent: script: - scripts/uncrustify.sh - git diff - - "! git status -s | grep -q ." + - git diff-index --name-only --exit-code HEAD test_unsupported_list: stage: check-source