Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue