Webhook only notifies about a single branch when multiple branches have changed
Created by: sbussetti
Simple use case:
I modify a working branch. I then merge that branch into a main deploy branch that my CI system knows about. I push, sending the updates for both branches.
Gitlab triggers my webhook, however it only tells my CI system about one changed branch. In other words, if I have a single commit affecting multiple branches, sometimes Gitlab only tells my CI system about the working, source branch, and sometimes it tells my system about the build, target branch.
This seems to be new behavior that appeared around late 5.x or early 6.x. Can provide log output etc if desired.
Previously gitlab would notify a much longer commit history to the webhook and therefore would tell my CI system about multiple changed branches on the same repo.