Added initialisation for matches variable to prevent posting the same commit message twice