Config file gitlab-ci.yml: include:local regex pattern fixed
What does this MR do and why?
Current regex pattern does not match with "template/*.yml" example string which is valid and runs without any issue. Therefore it gives error on vscode. So, I edited current include regex pattern from ^(https?://|/).+\\.ya?ml$
to ^(https?://|/?.?-?(?!\\w+://)\\w).+\\.ya?ml$
.
Screenshots or screen recordings
How to set up and validate locally
GitLab documentation validates "template/example.yml" usage is correct.
In a .gitlab-ci.yml file, import another local file/folder in the same level folder without prepend slash.
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.
Edited by M. Said TERZİ