Looks like this is a general issue. My case was also different. I just setup a monorepo and I want a .gitlab-ci.yml file in the root folder and I also added a .gitlab-ci.yml to each sub project. Once I renamed the files with different names in the sub projects, the issue was gone.