summaryrefslogtreecommitdiff
path: root/danger/frozen_string
diff options
context:
space:
mode:
authorOswaldo Ferreira <oswaldo@gitlab.com>2019-05-21 18:14:22 -0300
committerOswaldo Ferreira <oswaldo@gitlab.com>2019-06-12 16:10:35 -0300
commitf3fd706f3558a558c348718c1ee39f765b2bf9e6 (patch)
tree1d9fafaf09b61f174c836d0aa536bdd4a5ddb905 /danger/frozen_string
parent50cddd36e505d49ebdb2b20c5c37ede56abad1df (diff)
downloadgitlab-ce-osw-sync-merge-ref-upon-mergeability-check.tar.gz
Automatically update MR merge-ref along merge statusosw-sync-merge-ref-upon-mergeability-check
This couples the code that transitions the `MergeRequest#merge_status` and refs/merge-requests/:iid/merge ref update. In general, instead of directly telling `MergeToRefService` to update the merge ref, we should rely on `MergeabilityCheckService` to keep both the merge status and merge ref synced. Now, if the merge_status is `can_be_merged` it means the merge-ref is also updated to the latest. We've also updated the logic to be more systematic and less user-based.
Diffstat (limited to 'danger/frozen_string')
0 files changed, 0 insertions, 0 deletions