Disable Pipeline for non verified users instead of a job failure

  • Describe your question in as much detail as possible:

We have a new teammate working on our project with a newly created account. Since he is just temporary helping us, he doesn’t want to put his credit card information. However he works on the code a lot and every time he push, there will be a red mark on the projects saying the pipeline failed which is very annoying. Can e just simply not trigger the job if the user is not validated?

  • What are you seeing, and how does that differ from what you expect to see?

We are see a failed pipeline job, but we should see nth being triggered.

  • What troubleshooting steps have you already taken? Can you link to any docs or other resources so we know where you have been?

I hv tried to set set the CI run being manual and set the $CI_PIPELINE_SOURCE == “web” , with a view to stop the CI autorun and failed, then only trigger by myself kr other verified users. However it not works and we are still seeing a red mark.