gruntwork-io / gruntwork-io/git-xargs
The name of the Pull Request have the description when it's provided
- Dominant language
- Go
- Stars
- 1.1k
- Forks
- 75
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When using the git-xargs with a very big commit message, that includes `\n` characters (to create the description) the name the PR seems to ignore the `\n`.
I think the title should be only the name of the commit, and the description should be out of the title.
**To Reproduce**
Run the command of git-xargs with a very big commit message, that includes `\n`.
```hcl
git-xargs --skip-archived-repos --loglevel DEBUG --dry-run --repo=foo/bar --branch-name \"branch/change_x_y_z\" --commit-message "Add x y z\n**X:** is to allow this\n **Y:** is to allow that\n **Z:** idk\n> OK this comment shouldn't appear in the PR name" python main.py
```
**Expected behavior**
The title of the PR for the command above should be: "Add x y z"
**Nice to have**

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.