Changes keyword creates a pipeline when master is merged
I'm using Gitlab CI to build a CI/CD pipeline for serverless functions monorepo, for more details see: https://medium.com/@PedroGomes/gitlab-ci-cd-serverless-monorepo-3a3ff672056a
The average job looks like this:
deploy-app:
extends:
- .deploy-serverless-aws
variables:
WORKDIR: app
TEST: "" # @TODO
only:
changes:
- "services/app/**"
- "services/app/**/*"
- "services/app/**/**/*"
- "services/app/**/**/**/*"
There seems to be one problem:
I'm working on my feature branch, whenever I merge master into my branch, then all applications will be deployed.
While the diff between my branch and master continue to be the same.