4209b647f8
When we push to an MR's target branch, we check if the MR's HEAD commit is contained in the push. This lets us mark MRs as merged if they were merged manually. However, we also added a feature where you can create an empty MR from an issue. If that MR is created around the time of a merge to the default branch, we would process the push after creating the MR, and consider it to be a manual merge. To fix that, we exclude empty MRs from this process. If they are empty, they were empty before the push we're processing, so we shouldn't touch them! |
||
---|---|---|
.. | ||
conflicts | ||
add_todo_when_build_fails_service.rb | ||
assign_issues_service.rb | ||
base_service.rb | ||
build_service.rb | ||
close_service.rb | ||
create_from_issue_service.rb | ||
create_service.rb | ||
get_urls_service.rb | ||
merge_request_diff_cache_service.rb | ||
merge_service.rb | ||
merge_when_pipeline_succeeds_service.rb | ||
post_merge_service.rb | ||
refresh_service.rb | ||
reopen_service.rb | ||
resolved_discussion_notification_service.rb | ||
update_service.rb |