mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-05-15 22:55:55 +00:00
Add skip if no Dockerfiles are in directories
This commit is contained in:
parent
5ca5a12b99
commit
a47a956d8d
5 changed files with 88 additions and 25 deletions
4
testdata/test_empty_dir/README.md
vendored
Normal file
4
testdata/test_empty_dir/README.md
vendored
Normal 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.
|
||||
3
testdata/test_good_single_file/Dockerfile
vendored
Normal file
3
testdata/test_good_single_file/Dockerfile
vendored
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
FROM alpine:3.10
|
||||
|
||||
RUN echo "Hello"
|
||||
Loading…
Add table
Add a link
Reference in a new issue