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

Changes not detected on a manual trigger (workflow_dispatch) #235

Open TuuZzee opened 2 months ago

TuuZzee commented 2 months ago

First of thanks for this action it's pretty neat!

I am using it on couple of my Github action workflow but I have one that can be trigger manually on any branch that doesn't seem to work as expected. For some reasons the changes aren't detected, I am guessing I have configure this wrong but I am not sure where. It's also giving me the warning: 'before' field is missing in event payload - changes will be detected from last commit I have tried couple solution from other issues I found here but without success so far:

I have currently it set as such:

//...
on:
  workflow_dispatch:
//...

  checks:
//...
      - uses: dorny/paths-filter@v3
        id: filter
        with:
          base: ${{ github.ref }}
          filters: |
darkxeno commented 2 months ago

same issue here @dorny, the log show "changes will be detected from last commit" but every file is detected as a change.