Skip to content
Snippets Groups Projects
Verified Commit 5d6e4bd2 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix gitlab ci widget for forks

parent 6ef3505b
Branches
Tags
No related merge requests found
Loading
Loading
@@ -166,7 +166,7 @@ class Projects::MergeRequestsController < Projects::ApplicationController
end
 
def ci_status
status = project.gitlab_ci_service.commit_status(merge_request.last_commit.sha)
status = @merge_request.source_project.gitlab_ci_service.commit_status(merge_request.last_commit.sha)
response = {status: status}
 
render json: response
Loading
Loading
  • Would you integrate this in a future 6.6 patch release? It's a really annoying bug when working with many forked projects

  • We will not be back-porting this, sorry Iaccopo.

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment