Ensure that we ran the latest pipeline tier before an MR is merged
Context
We could imagine a scenario where an MR is merged when only pipelinetier-2 pipelines were run.
Goal
Ensure that we cannot merge an MR if we didn't run a pipelinetier-3 at the last pipeline of an MR.
Technical considerations
- It would be ideal to have a solution that works even when triage-ops is not available (i.e. we could add manually the pipelinetier-3 label, trigger a new pipeline, and have it pass), so that we have a manual bypass in case triage-ops is down, and we can still merge MRs.
- This system should only happen in merge requests (i.e. not for merge trains).
Edited by David Dieulivol