We have joked that we need CI for CI because it happen to us that our pipeline update broke our main pipeline (hard to test it from the feature pipeline, right 🤓). Luckily @kepkap found out there is an API for that docs.gitlab.com/ee/api/lint.html
We quickly wired it into our Danger (danger.systems/js/ rules, and viola I hope this will catch the future bug.