Fix default Ci config path
What does this MR do and why?
When the ci config file is deleted using the interface the ci_config_path attribute of the project is set to an empty string.
This MR updates the ci_config_path check to handle the empty string filename.
This Merge Request solves issue #355010 (closed)
Screenshots or screen recordings
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Set the ci config file to a non-default file and save the changes.
- Go to Security & Compliance -> Configuration
- SAST -> Enable SAST
- Create Merge Request
- Verify it's working correctly.
- Delete the ci config file name and save the changes.
- Repeat steps 2 to 5
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.