From 9ae52f76970c86db0baaa0c8f9bb428544ad8d6c Mon Sep 17 00:00:00 2001 From: "Trez.One" Date: Thu, 19 Dec 2024 23:08:39 -0500 Subject: [PATCH] Attempts at format fixing... --- .gitea/workflows/branch-sonarscan-pr-merge.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index e05676eb..5fe4b519 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -104,6 +104,9 @@ jobs: json: "${{ steps.json-cleanup.outputs.conditions }}" align-pipes: 'true' + - name: Print Table + run: echo "${{ steps.convert-json-to-md.outputs.table }}" + - name: Post SonarQube Results as Comment env: PR_NUMBER: ${{ needs.check-and-create-pr.outputs.pr_number }} @@ -113,9 +116,8 @@ jobs: GITHUB_REPOSITORY: ${{ github.repository }} BOT_GITEA_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }} run: | - result_cleanup=$(echo "$SQ_RESULTS" | sed 's/|/\\|/g') payload=$(jq -n \ - --arg body "SonarQube analysis results:\n\n${result_cleanup} \n\n${QG_STATUS}" \ + --arg body "SonarQube analysis results:\n\n${{ env.SQ_RESULTS }} \n\n${QG_STATUS}" \ '{ body: $body }')