From 0b6a86fca39ec4b20ebe26c63d962d48c76b8243 Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Thu, 12 Aug 2021 15:18:04 -0400 Subject: [PATCH] Update discord action (#493) * 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 * Updating docker workflow * trying to remove newline * updating parsing * Replacement in parsing * Update sonar-scan.yml * testing passing pr body via artifact * Updating action version * syntax fix * Updating write * Updating write --- .github/workflows/sonar-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 23b19f917..7bebc05a6 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -135,7 +135,7 @@ jobs: - name: Write PR Body run: | - echo ${{ steps.findPr.outputs.body }} >> .github/pr.txt + echo "${{ steps.findPr.outputs.body }}" >> .github/pr.txt id: parse-body - name: Upload PR Body as Artifact