diff --git a/.github/workflows/get-images-scan-and-upload-report.yaml b/.github/workflows/get-images-scan-and-upload-report.yaml index a2f8252c..c39365e2 100644 --- a/.github/workflows/get-images-scan-and-upload-report.yaml +++ b/.github/workflows/get-images-scan-and-upload-report.yaml @@ -101,12 +101,17 @@ jobs: if: failure() run: cat ${{ steps.report-path.outputs.report-path }} - report-issue: + report-issues: name: Report issue if vulnerability is found runs-on: ubuntu-22.04 needs: [get-images, scan-images] if: ${{ always() && contains(needs.scan-images.result, 'failure') }} steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + - name: Install gh run: sudo snap install gh