diff --git a/action.yml b/action.yml index 4acac46..aab2bb3 100644 --- a/action.yml +++ b/action.yml @@ -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 }}