dorny / paths-filter

Conditionally run actions based on files modified by PR, feature branch or pushed commits
MIT License
1.98k stars 230 forks source link

dorny/paths-filter@v2 filter condition returns false with Matching files: none #194

Open topeawolwo opened 1 year ago

topeawolwo commented 1 year ago

I am working with this filter to list changed files or changed directories within a repository. I had made changes to files within the repository

Execute step in a workflow job only if some file in a subfolder is change

I defined my execute step in a workflow job only if some file in a subfolder is changed

as

``

``

In my githubaction workflow I am having this error :

Filter hcls = false Matching files: none Changes output set to []

why is "Filter hcls = false" when I had defined a condition if: ${{ steps.filter.outputs.hcls == 'true' }}