diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index d14f8222..45660bff 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -102,7 +102,6 @@ jobs: uses: buildingcash/json-to-markdown-table-action@v1.1.0 with: json: "${{ steps.json-cleanup.outputs.conditions }}" - align-pipes: 'true' - name: Post SonarQube Results as Comment env: @@ -113,6 +112,8 @@ jobs: GITHUB_REPOSITORY: ${{ github.repository }} BOT_GITEA_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }} run: | + formatted_results=$(echo "${SQ_RESULTS}" | sed 's/\\n/\ + /g') payload=$(jq -n \ --arg body "${QG_STATUS}

SonarQube analysis results:
${SQ_RESULTS} " \ '{ body: $body }')