Add skip if no Dockerfiles are in directories

This commit is contained in:
Michał Sochoń 2024-01-11 21:46:48 +01:00
parent 5ca5a12b99
commit a47a956d8d
5 changed files with 88 additions and 25 deletions

4
testdata/test_empty_dir/README.md vendored Normal file
View file

@ -0,0 +1,4 @@
This directory is intentionally empty.
It is used by the test suite to verify that hadolint action is not executed
if processed directory does not contain any Dockerfile.