Open topeawolwo opened 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
uses: dorny/paths-filter@v2 id: filter with: base: ${{ github.base_ref }} working-directory: ${{ inputs.dir-root }} list-files: shell filters: | hcls:
name: Changed HCL if: ${{ steps.filter.outputs.hcls == 'true' }} run: | echo ${{ steps.filter.outputs.hcls_files }}
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' }}
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
uses: dorny/paths-filter@v2 id: filter with: base: ${{ github.base_ref }} working-directory: ${{ inputs.dir-root }} list-files: shell filters: | hcls:
name: Changed HCL if: ${{ steps.filter.outputs.hcls == 'true' }} run: | echo ${{ steps.filter.outputs.hcls_files }}
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' }}