Excluding paths doesn't work without includes #25369
-
If I have in
What I suppose is to trigger workflow on all changes but It either should be fixed, or some doc updates is required. If it’s fixed, then As for docs, some updates could be done here: https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions#excluding-paths
It should be stressed somehow that using excluds only in |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I agree that the documentation should be more clear. In practice you can work around the limitation by having a blanket include and then exclude the parts you want:
|
Beta Was this translation helpful? Give feedback.
-
That’s exactly what I did. Somehow I didn’t try |
Beta Was this translation helpful? Give feedback.
-
I have created an internal ticket asking document team to update the document . Thank you for pointing this out and it is helpful to make a better GitHub Actions. |
Beta Was this translation helpful? Give feedback.
I agree that the documentation should be more clear. In practice you can work around the limitation by having a blanket include and then exclude the parts you want: