Compare file changes between branch and master

Apologies if this has already been asked. I’d like to diff the branch circle is building with master, so I can see what files changed. The use case here is to kick off certain builds only if certain files or directories have changed. Anyone have a simple solution to this? I could use git and clone the repo myself but would like to avoid that if possible. I saw $CIRCLE_COMPARE_URL as an option but that is only available when building the master branch? Thank you

I think this has sort-of been discussed before - search for “monorepo” in the forum. There is no specific support for it - a build on Git push will always run - but you can use shell scripting to decide whether to run your build actions.

That’s pretty much how I’d do it :grin: