2 ms·
IIRC you can specify filters "paths" and "paths-ignore" when you define a github action that should only be triggered when a subdirectory changes. See this doc
by dgellow 6y ago
IIRC you can specify filters "paths" and "paths-ignore" when you define a github action that should only be triggered when a subdirectory changes.
See this documentation page: https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#onpushpull_requestpaths https://docs.github.com/en/actions/reference/workflow-syntax...
Their example is:
on:
push:
paths:
- '\*.js'
but I believe you can also specify the subdirectory you care about.