I am using gitlab templates (and labels also), but want to make them mandatory to submit a request. Not able to find needed reference to so.
Edit: what I am looking for is some mandatory check i.e like without selecting any of template (and label) you can't post request.
create requestbutton If the description box is empty? @Seth – Randeep tomar Jul 04 '19 at 10:14With Pipeline as Code you do want to define your pipeline as you like in your sources. Hence anyone can raise MR with just dummy job in
.gitlab-ci.yml, overcoming all the rules.If you have sane PR review process, that should flag it.
And you can configure project settings to require certain number of approvers or even specify who should do that. You can of course write something custom, e.g. external job that does the validation of the pipeline script, but it would be some work. – Ivan Jul 04 '19 at 14:06