We recently moved to a monorepo in gitlab. I setup the pipeline to run jobs based on what files have changed using
rules:changes. Unfortunately I missed this gem in the troubleshooting section until after the changes were released:
The changes rule always evaluates to true when pushing a new branch or a new tag to GitLab.
So now every new branch is building and deploying
all apps instead of just the one(s) with changes. Anyone run into this? Any recommendations on fixes?
I'm hoping to avoid adding some sort of check to all jobs as to whether or not they should run and exit early if not.