This commit adds a PR body input to the action, that can be used to add additional text to the PR description. This is useful when trying the explain more about the PR such as the cause behind its creation and how the future changes will lead to a forced push instead of a new PR.
Originally discussed in #78.
* Add a PR body input for the action
* Add the `PR_BODY` variable to the context
* Use `PR_BODY` in the PR body
* Replace array with string
* Move the PR body aboved the changed files
* Add a COMMIT_BODY option
Some GitHub actions can check for specific content in a commit message's body. For example a versionbot that checks for content like `Change-type: patch`.
This change allows the calling workflow to specify a string to use as the commit body. This string will be appended to the commit message, separated by two new lines.
Change-type: minor
Signed-off-by: Graham McCulloch <graham@balena.io>
* Add example of COMMIT_BODY option to README
Change-type: patch
Signed-off-by: Graham McCulloch <graham@balena.io>