Implement changes rules for executing full and docs-only pipelines
What does this MR do?
Aims to introduce rules to run docs only jobs or full pipeline based on changes made.
The MR aims to introduce rules to run jobs based on the changes made. The patterns followed are for:
- code/backstage changes
- docs changes
For docs only changes only docs related jobs should be added to the pipeline
For code only or code and docs changes a full pipeline should be executed
Why was this MR needed?
Currently a docs only pipeline is invoked based on the source branch name matching a docs related regular expression.
This MR aims to kick off a docs only pipeline if only docs related changes have been made.
What's the best way to test this MR?
Tests
What are the relevant issue numbers?
Related to #5019 (closed)
Related MRs
This MR is based off of !2938 (merged) source branch
Edited by Mark Fletcher