In my project we have multiple yml files which can have dependency on each other defined in the needs section. I have also setup a rule to trigger the jobs if there is a change in the current yml files.
In this case if I make modification only in the file which contains the job with the external needs depenceny, I got yml error response as the jobs in the needs section are not triggered.
A simpilfied example to demonstrate the problem:
include: - test02.yml
changes: - test01.yml
- ’ job_a’ job needs ’ job_b’ job, but ’ job_b’ is not in any previous stage
Thanks for taking the time to be thorough in your request, it really helps!