Fix pipeline inputs finder when no config
What does this MR do and why?
Fix pipeline inputs finder when no config
Instead of returning an error when CI config is not found, we return a success response with empty inputs.
The project config may not exist if the project is using a policy. And we currently don't support inputs for policies.
References
Related to #534111 (closed)
Screenshots or screen recordings
| Before | After |
|---|---|
![]() |
![]() |
How to set up and validate locally
- Enable the FF
ci_inputs_for_pipelines. - Create a PEP.
- Create a project using this policy.
- The project can't have a
.gitlab-ci.ymlfile. - The project must "autodevops" disabled.
MR acceptance checklist
Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

