Fixes the issue where the PR title doesn't get populated on create.
Does this pull request fix one issue?
Fixes #444
Describe how you did it
If the last commit doesn't have body, the logic skips setting the title. So I adjusted it to always set the title if the commit has a description (even without a body).
Describe how to verify it
Create a commit without a body (just a title)
Create a PR with Octo
The "Enter title:" input will be populated with the commit title
Describe what this PR does / why we need it
Fixes the issue where the PR title doesn't get populated on create.
Does this pull request fix one issue?
Fixes #444
Describe how you did it
If the last commit doesn't have body, the logic skips setting the title. So I adjusted it to always set the title if the commit has a description (even without a body).
Describe how to verify it