Enforce SEP jobs when `pipeline_source` is a string
What does this MR do and why?
Enforce SEP jobs when pipeline_source is a string.
This fixes a case when SEP jobs are not enforced when pipeline is run manually via UI and the project doesn't have a CI configuration.
It was likely caused by !174577 (merged) which changed the pipeline source when triggering the pipeline from :web to 'web'.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
How to set up and validate locally
- Create a project
- Create a SEP with
secret_detectionto run on all branches - Go to the project
/pipelines/newand run a pipeline - Verify that pipeline runs with
secret-detection-0job
Related to #517978 (closed)
Edited by Martin Cavoj