mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
ci: Only run uncrustify check if source files have been changed
This commit is contained in:
committed by
Marco Trevisan
parent
8e22b2e22e
commit
7292dd642c
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user