-
Notifications
You must be signed in to change notification settings - Fork 246
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: Unable to locate executable file: git #212
Comments
@dorny I'm using v3 and getting this error as well.
jobs:
changes:
runs-on: ubuntu-latest
permissions:
pull-requests: read
outputs:
...
steps:
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
... What's weird is this is working for me on a |
I'm having the same issue as @wweaver, works fine on PR not after merge with an almost identical yaml. Git is in path as you can see: That is output from git. |
Adding checkout such as:
solved it... |
Follow up to #311. This attempts to fix the path filtering code erroring on main branch. See: dorny/paths-filter#212 (comment)
Having this same issue when using |
I use this in my github action:
This was working fine previously, but now the github action complains about missing the git executable:
The text was updated successfully, but these errors were encountered: