From 807861a598611f15994fc902c27b0e7adff6c9fb Mon Sep 17 00:00:00 2001 From: Nick Santamaria Date: Thu, 7 Nov 2024 10:53:58 +1100 Subject: [PATCH] Added GITHUB_TOKEN to vulnerability-scan.yml file. --- .github/workflows/vulnerability-scan.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/vulnerability-scan.yml b/.github/workflows/vulnerability-scan.yml index 18242dd0..e044aac0 100644 --- a/.github/workflows/vulnerability-scan.yml +++ b/.github/workflows/vulnerability-scan.yml @@ -70,6 +70,8 @@ jobs: with: image: ${{ env.REGISTRY }}/${{ github.repository }}/${{ matrix.images }}:${{ inputs.tag }} dockerfile: ./images/${{ matrix.images }} + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Upload SARIF file if: ${{ steps.scan.outputs.sarif != '' }} uses: github/codeql-action/upload-sarif@v3