From af607f0a9978ba32baa927483af75efcd1f28731 Mon Sep 17 00:00:00 2001 From: Zhijie Yang Date: Fri, 22 Nov 2024 16:59:33 +0100 Subject: [PATCH] fix: issue body formatting --- .github/workflows/Vulnerability-Scan.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Vulnerability-Scan.yaml b/.github/workflows/Vulnerability-Scan.yaml index a29b85c8..2ae1413b 100644 --- a/.github/workflows/Vulnerability-Scan.yaml +++ b/.github/workflows/Vulnerability-Scan.yaml @@ -246,9 +246,9 @@ jobs: if [[ ${{ inputs.is-from-release }} == 'true' ]]; then revision_to_released_tags=$(python3 -m src.shared.release_info get_revision_to_released_tags --all-releases ${{ inputs.oci-image-path }}/_releases.json) affected_tracks=$(echo "${revision_to_released_tags}" | jq -r '."${{ steps.simplify-image-name.outputs.img_revision }}" | map("- `\(.)`") | join("\n")') - echo -e "Affected tracks:" >> issue.md + echo -e "\n### Affected tracks:" >> issue.md echo -e "${affected_tracks}" >> issue.md - echo -e "Details: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> issue.md + echo -e "\nDetails: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}" >> issue.md fi echo "issue-title=$title" >> "$GITHUB_OUTPUT" echo "issue-body-file=issue.md" >> "$GITHUB_OUTPUT"