Update action.yml

This commit is contained in:
Michael Sasser 2024-11-19 14:40:39 +01:00
parent 695fc981d0
commit ab4beaab9c
Signed by untrusted user who does not match committer: forgejo
GPG key ID: C9F88AA6852B82E7

View file

@ -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 }}