Skip to content

Commit

Permalink
fix: prevent commit status in incorrect MR
Browse files Browse the repository at this point in the history
  • Loading branch information
michelmzs committed Nov 2, 2022
1 parent c290421 commit abb815e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/events/vcs/gitlab_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ func (g *GitlabClient) UpdateStatus(repo models.Repo, pull models.PullRequest, s
Context: gitlab.String(src),
Description: gitlab.String(description),
TargetURL: &url,
Ref: gitlab.String(pull.HeadBranch),
})
return err
}
Expand Down

0 comments on commit abb815e

Please sign in to comment.