From c884d9c1d995406ffc386843f91fa4ae770bb923 Mon Sep 17 00:00:00 2001 From: Guy Owen Date: Fri, 30 Aug 2024 08:46:48 +1000 Subject: [PATCH] Added GH annotations. (#290) --- .github/workflows/vulnerability-scan-schedule-5x.yml | 2 ++ .github/workflows/vulnerability-scan-schedule-6x.yml | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/vulnerability-scan-schedule-5x.yml b/.github/workflows/vulnerability-scan-schedule-5x.yml index 2bb23d8a..59951b1c 100644 --- a/.github/workflows/vulnerability-scan-schedule-5x.yml +++ b/.github/workflows/vulnerability-scan-schedule-5x.yml @@ -5,6 +5,7 @@ env: on: schedule: - cron: '0 22 * * 3' + workflow_dispatch: jobs: vulnerability-scan-schedule: if: github.event_name == 'schedule' @@ -23,6 +24,7 @@ jobs: uses: crazy-max/ghaction-container-scan@v3 with: image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:5.x + annotations: true dockerfile: ./images/${{ matrix.images }} - name: Upload SARIF file if: ${{ steps.scan.outputs.sarif != '' }} diff --git a/.github/workflows/vulnerability-scan-schedule-6x.yml b/.github/workflows/vulnerability-scan-schedule-6x.yml index b6b719c3..97c21c21 100644 --- a/.github/workflows/vulnerability-scan-schedule-6x.yml +++ b/.github/workflows/vulnerability-scan-schedule-6x.yml @@ -5,6 +5,8 @@ env: on: schedule: - cron: '0 22 * * 3' + workflow_dispatch: + jobs: vulnerability-scan-schedule: if: github.event_name == 'schedule' @@ -21,6 +23,7 @@ jobs: uses: crazy-max/ghaction-container-scan@v3 with: image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:6.x + annotations: true dockerfile: ./images/${{ matrix.images }} - name: Upload SARIF file if: ${{ steps.scan.outputs.sarif != '' }}