3 ms·
It's easy with github actions to only run a workflow if a certain directory has changed: on: push: paths: - kcf/tools/kcf_graph/\*
by timthelion 4y ago
It's easy with github actions to only run a workflow if a certain directory has changed:
on:
push:
paths:
- kcf/tools/kcf_graph/\*
- .github/workflows/test-kcf-graph.yml
workflow_dispatch: {}
https://github.com/gradesta/gradesta/blob/default/.github/workflows/test-kcf-graph.yml#L3 https://github.com/gradesta/gradesta/blob/default/.github/wo...
- SOLAR_FIELDS 4y agoThis looks trivial now, but when you multiply the number of directories by 8 or so it becomes a very nasty mess very quickly. I think that the idea of only running what changed makes a lot of sense, I just think that managing that in declarative yml falls apart VERY quickly once you hit an inkling of scale.
- hyperhopper 4y agoAnd what about when one directory relies on another directory? (The answer is comprehensive tooling, not primitive hacks)