This repository has been archived by the owner on Aug 2, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 132
Did something change recently? #20
Comments
Here's my workflow: ---
name: Ansible Lint
on: [pull_request]
jobs:
linting_check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Lint Ansible Playbook
uses: ansible/ansible-lint-action@master
with:
targets: |
devel/my_yaml_file.yml |
Yeah, I think it may be related to ce0c313#diff-b958f585a04af5ee2087610ea7180f34R86. /cc @xunholy ^ |
I already mentioned something like that at #17 (comment) The problem here is the quoted empty |
And @webknjaz and @xunholy talked about it here: #17 (comment) |
DO1JLR
added a commit
to DO1JLR/ansible-lint-action
that referenced
this issue
Apr 3, 2020
Why should we pass some arguments with quotations and other arguments without? I removed the quotations from ``"$opts"`` to resolve a broken command if the opts variable is empty. There was a discussion about this in [PR17](ansible#17 (comment)) This will probably Resolve Issue ansible#20
This was referenced Apr 3, 2020
Seems like now when I specify targets, it is not finding my target playbook. Strange. Let me try and figure it out. |
I'm pretty sure it's the same issue. Those quotes would need to be reverted too. |
webknjaz
added a commit
that referenced
this issue
Apr 3, 2020
Reverted. |
Same thing is happening with opts as well.
|
That is because of this commit: |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Been using this for a while, and now suddenly today getting this error on ansible lint checks during my GitHub action check:
The text was updated successfully, but these errors were encountered: