diff options
Diffstat (limited to 'lib/gitlab/ci/project_config/repository.rb')
-rw-r--r-- | lib/gitlab/ci/project_config/repository.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/project_config/repository.rb b/lib/gitlab/ci/project_config/repository.rb index a08cf27b74c..93e13f57943 100644 --- a/lib/gitlab/ci/project_config/repository.rb +++ b/lib/gitlab/ci/project_config/repository.rb @@ -33,7 +33,7 @@ module Gitlab return unless project return unless sha - project.repository.gitlab_ci_yml_for(sha, ci_config_path).present? + project.repository.blob_at(sha, ci_config_path).present? rescue GRPC::NotFound, GRPC::Internal nil end |