Skip to content

Adjust automerge for case where there are not pending commits

Lucas Prates requested to merge automerge-trim into arm-software

The automerge script relies on the output of a git log command to determine the list of commits to be merged. If the list is empty, the current implementation creates a list with a single empty item, causing the pipeline to fail. This fixes that by checking for an empty output before trying to split it to create a list.

Merge request reports