Update discord action (#480)

* Updating docker action

* adding version to message

* adding way to get PR title and body

* Adding input pass to workflows

Workflow dispatches may not get push header info. Switching logic to pass needed title and body info through just in case.

* adding token

The description on this action is awful, it didn't mention needing a token. I found this solution from the repo's issues

* parsing pr body

* Updating parsing

* Updating docker workflow

* Reverting back to default variables

* fixing syntax error

* removing heading syntax

* updating parse
This commit is contained in:
Robbie Davis 2021-08-11 14:38:27 -04:00 committed by GitHub
parent d374c10255
commit 1c076bda87
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -137,7 +137,7 @@ jobs:
run: |
body='${{ steps.findPr.outputs.body }}'
newBody="${body//$'\n'/}"
newBody="${body//$'#'/}"
newBody="${newBody//$'#'/}"
echo $newBody
echo "::set-output name=BODY::$newBody"
id: parse-body