diff --git a/.gitea/workflows/branch-sonarscan-pr-merge.yml b/.gitea/workflows/branch-sonarscan-pr-merge.yml index 5c9c12cb..407fcfc8 100644 --- a/.gitea/workflows/branch-sonarscan-pr-merge.yml +++ b/.gitea/workflows/branch-sonarscan-pr-merge.yml @@ -85,13 +85,14 @@ jobs: run: | echo "Quality Gate Status: ${{ steps.quality-gate-check.outputs.project-status }}" echo "Quality Gate Result: " - echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" | jq + echo "${{ steps.quality-gate-check.outputs.quality-gate-result }}" > quality-gate-result.json + cat quality-gate-result.json | jq - name: Convert JSON report to markdown id: convert-json-to-md uses: parkerbxyz/json-to-markdown-table@v1.1.2 with: - json: ${{ toJSON(steps.quality-gate-check.outputs.quality-gate-result) }} + json: toJSON(${{ steps.quality-gate-check.outputs.quality-gate-result }}) - name: Verify markdown output run: |