-
Notifications
You must be signed in to change notification settings - Fork 665
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
Error: No file in /home/runner/work/ansible/ansible matched to [~/requirements.txt or **/pyproject.toml] #3648
Comments
I'm getting the same error after changed from the archived action. But I do have a requirements.txt in the root of my repo and have checked out the repo. jobs:
ansible_lint:
name: ansible lint
runs-on: [self-hosted, linux, X64]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Ansible lint
id: ansible-lint
uses: ansible/[email protected]
with:
path: "playbooks/" |
I experience the same issue |
We are also facing this issue: redhat-cop/cloud.aws_ops#84 and redhat-cop/cloud.aws_troubleshooting#24 |
I was affected by this and found out that this problem has already been silently addressed. The Therefore, the
|
Sadly I am unable to just remove that version but I added a comment, recommending everyone to use |
Summary
Using the GH action with the following .yml
I get the following Error when running
Error: No file in /home/runner/work/ansible/ansible matched to [~/requirements.txt or **/pyproject.toml], make sure you have checked out the target repository
Issue Type
OS / ENVIRONMENT
Github Actions
STEPS TO REPRODUCE
Create
ansible-lint.yml
in.github/workflows
folderpasted
Push to new branch,get below error
Desired Behavior
The action workflow runs ansible-lint on repository
Actual Behavior
Workflow fails
The text was updated successfully, but these errors were encountered: