mirror of
https://github.com/hadolint/hadolint-action.git
synced 2026-05-21 09:25:54 +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
|
|
@ -73,6 +73,10 @@ inputs:
|
|||
required: false
|
||||
description: 'A comma separated list of trusted registry urls'
|
||||
default:
|
||||
working-directory:
|
||||
required: false
|
||||
description: 'Path where you want to start scanning for Dockerfiles'
|
||||
default:
|
||||
|
||||
runs:
|
||||
using: 'docker'
|
||||
|
|
@ -91,6 +95,7 @@ runs:
|
|||
HADOLINT_OVERRIDE_STYLE: ${{ inputs.override-style }}
|
||||
HADOLINT_IGNORE: ${{ inputs.ignore }}
|
||||
HADOLINT_TRUSTED_REGISTRIES: ${{ inputs.trusted-registries }}
|
||||
HADOLINT_WORKING_DIRECTORY: ${{ inputs.working-directory }}
|
||||
|
||||
HADOLINT_CONFIG: ${{ inputs.config }}
|
||||
HADOLINT_RECURSIVE: ${{ inputs.recursive }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue