parent
ab4beaab9c
commit
ff2de979b4
1 changed files with 2 additions and 2 deletions
|
@ -31,14 +31,14 @@ runs:
|
|||
|
||||
# Run linter
|
||||
- name: Run ansible-lint (with dependencies)
|
||||
if: steps.get-role-dependencies.outputs.has_dependencies == 'true'
|
||||
if: ${{ steps.get-role-dependencies.outputs.has_dependencies == 'true' }}
|
||||
uses: https://git.michaelsasser.org/actions/ansible-lint@main
|
||||
with:
|
||||
args: ${{ inputs.args }}
|
||||
requirements_file: ${{ github.workspace }}/meta/requirements.yml
|
||||
|
||||
- name: Run ansible-lint (without dependencies) # same but without: requirements_file
|
||||
if: steps.get-role-dependencies.outputs.has_dependencies == 'false'
|
||||
if: ${{ steps.get-role-dependencies.outputs.has_dependencies == 'false' }}
|
||||
uses: https://git.michaelsasser.org/actions/ansible-lint@main
|
||||
with:
|
||||
args: ${{ inputs.args }}
|
||||
|
|
Loading…
Reference in a new issue