ci: Only run uncrustify check if source files have been changed

This commit is contained in:
Marco Trevisan (Treviño)
2025-02-12 20:56:10 +01:00
committed by Marco Trevisan
parent 8e22b2e22e
commit 7292dd642c

View File

@@ -169,6 +169,12 @@ test_indent:
- scripts/uncrustify.sh - scripts/uncrustify.sh
- git diff - git diff
- git diff-index --name-only --exit-code HEAD - git diff-index --name-only --exit-code HEAD
rules:
- changes:
compare_to: 'refs/heads/master'
paths:
- '**/*.c'
- '**/*.h'
test_unsupported_list: test_unsupported_list:
stage: check-source stage: check-source