Hacker News new | past | comments | ask | show | jobs | submit login

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/wo...



This 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.


And what about when one directory relies on another directory?

(The answer is comprehensive tooling, not primitive hacks)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: