I have a base job like this:
.parent_job rules: - if '$CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master"'
But I want all the child jobs to also run on specific sets of file changes
child_job1 extends: .parent_job rules: - changes: - file1 child_job2 extends: .parent_job rules: - changes: - file2
Will the child jobs lose their rule about running on Merge Requests ?
I want to do this because I have a lot of jobs and limited slots, so I dont want them all running on every push to a branch. Will I need to define the merge request rule in every child?