Update discord action (#481)

* 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

* Updating parsing
This commit is contained in:
Robbie Davis 2021-08-11 15:11:39 -04:00 committed by GitHub
parent 530324fe2b
commit 8f81b51726
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -137,9 +137,9 @@ jobs:
run: |
body='${{ steps.findPr.outputs.body }}'
newBody="${body//$'\n'/}"
newBody="${newBody//$'#'/}"
echo $newBody
echo "::set-output name=BODY::$newBody"
newB="${newBody//$'#'/}"
echo $newB
echo "::set-output name=BODY::$newB"
id: parse-body
- name: If Push to Develop, Trigger Docker Stable