Error when reference yml through https

Created a yml file in repo A. Then try to reference it through https (follow the link as below) in repo B.

Set repo A to project visibility to public.

Got error below when trying in CI Lint.
Included file https://gitlab.com/yapeutat/solution-item/-/blob/master/.gitlab-ci.yml does not have valid YAML syntax!