Resolve "Fork relationship is not respected for certain projects"
Related to #358665 (closed)
It appears that the usage of read_commit_status
is used for CI related status's too, and is prevented in specific cases as identified in the above issue. @patrickbajao and I talked, and we agreed that changing to download_code
would be a reasonable fix here since we use it to prevent the same policy here https://gitlab.com/gitlab-org/gitlab/-/blob/b37cb6bfc71903346007d9029f159a7935e1e2dd/app/policies/project_policy.rb#L500
Edited by Marc Shaw