diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index c740acbb..8ff479f4 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -113,8 +113,9 @@ jobs: GITHUB_REPOSITORY: ${{ github.repository }} BOT_GITEA_TOKEN: ${{ secrets.BOT_GITEA_TOKEN }} run: | + result_cleanup=$(echo "${SQ_RESULTS}" | sed 's|\\n||g') payload=$(jq -n \ - --arg body "SonarQube analysis results:\n\n${SQ_RESULTS} \n\n${QG_STATUS}" \ + --arg body "SonarQube analysis results:\n\n${result_cleanup} \n\n${QG_STATUS}" \ '{ body: $body }')