Infer the PR title when there is only one commit.