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