From 6c1439d97c1c6780cae21bb0c2ae07df4e2a8b68 Mon Sep 17 00:00:00 2001 From: Robbie Davis Date: Thu, 12 Aug 2021 14:37:22 -0400 Subject: [PATCH] Update Discord Action (#490) * 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 --- .github/workflows/sonar-scan.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/sonar-scan.yml b/.github/workflows/sonar-scan.yml index 0da7a6f22..e63fdcebb 100644 --- a/.github/workflows/sonar-scan.yml +++ b/.github/workflows/sonar-scan.yml @@ -134,7 +134,7 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} - name: Write PR body - uses: DamianReeves/write-file-action@latest + uses: DamianReeves/write-file-action@v1.0 with: path: ${{ env.home }}/.github/pr.txt contents: | @@ -166,4 +166,4 @@ jobs: uses: benc-uk/workflow-dispatch@v1 with: workflow: Build Stable Docker - token: ${{ secrets.REPO_GHA_PAT }} + token: ${{ secrets.REPO_GHA_PAT }} \ No newline at end of file