From 01ad674c20715eb6a3a67ceb2643eb60e1352d39 Mon Sep 17 00:00:00 2001 From: Daniela Plascencia Date: Fri, 27 Sep 2024 00:35:12 +0200 Subject: [PATCH] skip: refactor --- .github/workflows/get-images-scan-and-upload-report.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/get-images-scan-and-upload-report.yaml b/.github/workflows/get-images-scan-and-upload-report.yaml index ce5c3c38..2dd587b0 100644 --- a/.github/workflows/get-images-scan-and-upload-report.yaml +++ b/.github/workflows/get-images-scan-and-upload-report.yaml @@ -114,13 +114,14 @@ jobs: uses: actions/download-artifact@v4 with: name: ${{ needs.scan-images.outputs.release-track }}-${{ needs.scan-images.outputs.report-path }} - path: /tmp/report.txt + path: /tmp/ - name: Generate issue body id: issue-body run: | - #ISSUE_BODY=$(cat ${{ needs.scan-images.outputs.release-track }}-${{ needs.scan-images.outputs.report-path }}) - ISSUE_BODY=$(cat /tmp/report.txt) + ls . + ls /tmp + ISSUE_BODY=$(cat /tmp/${{ needs.scan-images.outputs.release-track }}-${{ needs.scan-images.outputs.report-path }}) echo "issue-body=$ISSUE_BODY" >> $GITHUB_OUTPUT - name: Create/edit issue for vulnerability reports