With more hybrid frameworks becoming available for Mobile (e.g. React-Native), it is becoming more popular to have multiple applications in a single Git repository.
To better support this, it would be nice to trigger (or not) a build when certain files are changed. E.g. to run either an iOS build or Android build.
For example, in one of my active repos, I have two file trees:
It would be great to be able to say: "Only build if files in this path have changed:
And, of course, it would integrate back with GitHub to report the build as successful or skipped so that PRs could be approved per usual.
For an example of how a competitor is doing this, see: https://www.buddybuild.com/blog/selective-builds
PS: If someone can suggest a convenient way to do this in the meantime, I’d love to hear it! Thanks.