Skip unneeded/irrelevant items on `merge when pipeline succeeds` pipelines
Problem to solve
If we set "merge when pipeline succeeds" we don't need to (for example) still build a review app, but this is not something configurable in the .gitlab-ci.yml
.
Further details
I’d certainly like to see a way to short-cut jobs when MWPS is clicked. It’s possible that different projects/companies need different behavior there. e.g. DAST only being run on review apps. It would be nice if we could come up with a single convention for all projects, but that may not be possible. We should still try though. Skipping all optional jobs might be a good place to start, although perhaps we need a stronger signal, like an explicit shortcuttable
key.
Proposal
What does success look like, and how can we measure that?
(If no way to measure success, link to an issue that will implement a way to measure this)