Preformatted messages (#97)

* refactor message creation
This commit is contained in:
Michael Shick 2023-05-05 16:02:36 -04:00 committed by GitHub
parent ef723874d4
commit a251f051d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 154 additions and 85 deletions

View file

@ -87,6 +87,7 @@ jobs:
| issue | with | Optional issue number override. | no | |
| update-only | with | Only update the comment if it already exists. | no | false |
| GITHUB_TOKEN | env | Valid GitHub token, can alternatively be defined in the env. | no | |
| preformatted | with | Treat message text as pre-formatted and place it in a codeblock | no | |
## Advanced Uses
@ -169,7 +170,6 @@ jobs:
message-part-*.txt
```
### Bring your own issues
You can set an issue id explicitly. Helpful for cases where you want to post
@ -202,7 +202,7 @@ jobs:
issue: ${{ steps.pr.outputs.issue }}
message: |
**Howdie!**
````
```
## Contributors ✨