-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible Lint Github Action ansible-lint-requirements.txt\n or **/pyproject.toml not found #4341
Comments
apologies for any poor formatting or incorrect practices, this is my first bug report and I am just trying to help! |
I'm seeing this as well. Only started happening in the last few hours |
Causing issues here as well. Thanks for workaround @willbrownecs |
I do not see any links to a repository with this failure so I am unable to reproduce/debug this failure. At minimum some console logs are needed for the action steps, so we can identify what part of the updated action broke it. |
I am unfortunately unable to link to my repository as it is internal. Maybe one of the other kind folks with the same issue can? |
At least try to debug it by looking at the logs. It does not do so many things so it should be easy to spot the root cause. |
I just merged the fix, I need confirmation from someone using |
Confirmed the fix is good - working now. |
Summary
Ansible-lint action errors out with
No file in /home/runner/work/<redacted>/<redacted> matched to [/home/runner/work/<redacted>/<redacted>/.git/ansible-lint-requirements.txt\n or **/pyproject.toml], make sure you have checked out the target repository
Issue Type
OS / ENVIRONMENT
ubuntu-latest
STEPS TO REPRODUCE
specifically at time of issue the current commit hash of latest/main is 4e3058f
Desired Behavior
ansible-lint executes properly
Possible security bugs should be reported via email to
security@ansible.com
Actual Behavior
Please give some details of what is happening. Include a minimum complete
verifiable example with:
github action fails to execute with the following error:
No file in /home/runner/work/<redacted>/<redacted> matched to [/home/runner/work/<redacted>/<redacted>/.git/ansible-lint-requirements.txt\n or **/pyproject.toml], make sure you have checked out the target repository
Reverting the
uses
block fromuses: ansible/ansible-lint@main
touses: ansible/ansible-lint@571711ffc3036d6893213fbe23d68f9d73b983ce
resolves the issue. This commit (at time of writing) is one commit behind main/latest.The text was updated successfully, but these errors were encountered: