TBH CI does not prevent this kind of mistakes. I've seen people triggering the wrong CI pipeline.
I guess people triggering the pipeline is already part of the problem
I guess people triggering the pipeline is already part of the problem