Formatting tweaks.

This commit is contained in:
2024-12-20 01:31:53 -05:00
parent 8076058e3b
commit 0de18fd036
@@ -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}<br><br>SonarQube analysis results:<br>${SQ_RESULTS} " \
'{ body: $body }')