Fix docs pipelines for forks
What does this MR do?
I made a small mistake in Fix rules for the unit test job (!5618 - merged)
I forgot to add changes: *code-backstage-patterns to the topmost rule. So instead of unit test being limited to code pipelines only, it's now trying to run on all pipelines, including docs-only pipelines too. This is breaking docs-only pipelines for community/forks. For example:
We need to limit this job to only code pipelines in forks too. We can see that the changes: entry exists in all other rules here, so it's clear that it's a mistake.
I tested this in a fork:
- Test Pipeline update MR: gitlab-com/localization/tech-docs-forked-projects/prod/gitlab-runner!32 (diffs)
- Test docs-only MR (based off branch for MR above, targeting that branch): gitlab-com/localization/tech-docs-forked-projects/prod/gitlab-runner!33 (closed) (Pipeline works!
🎉 )
Why was this MR needed?
What's the best way to test this MR?
What are the relevant issue numbers?
Edited by Marcel Amirault