Parent pipeline doesn't run, when you modify a file

Hello, I’ve built an Angular monorepo, and i have a parent-child architecture.

The thing is, on each parent pipeline, i have this structure:

api-foo:
  stage: api-services
  trigger:
    strategy: depend
    include: projects/services/api-foo/.gitlab-ci.yml
  rules:
    - changes:
        - 'projects/services/api-foo/*'

and each child has this structure:

include:
  - local: .gitlab/ci/config.gitlab-ci.yml

stages:
  - build

build:
  extends: .config-libs
  stage: build
  variables:
    PROJECT_PATH: interfaces/foo
  • If I modify a file inside of projects/services/api-foo/. It doesn’t run my job on Gitlab CI/CD

  • If i modify my .gitlab-ci.yml, that is inside this path, it runs.

Here is the project

I hope you understand me guys, if you have any questions let me know

Ok, i found an answer for my issue and the error was my path changes:

 - changes:
        - 'projects/services/api-foo/*'

To:

 - changes:
        - 'projects/services/api-foo/**/*'

I take this issue as a reference