From a6c4a3035bbf727821c6cfc9e63558393e1960a8 Mon Sep 17 00:00:00 2001 From: mauwii Date: Sat, 30 Sep 2023 17:07:14 +0200 Subject: [PATCH] fix condition --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bb6dda9..24a41ab 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -133,7 +133,7 @@ jobs: - name: Analyze for critical and high CVEs id: docker-scout-cves - if: ${{ github.event_name != 'pull_request_target' && github.actor != 'nektos/act' }} + if: ${{ github.event_name != 'pull_request' && github.actor != 'nektos/act' }} # kics-scan ignore-line uses: docker/scout-action@v0.23.4 with: @@ -144,7 +144,7 @@ jobs: - name: Upload SARIF result id: upload-sarif - if: ${{ github.event_name != 'pull_request_target' && github.actor != 'nektos/act' }} + if: ${{ github.event_name != 'pull_request' && github.actor != 'nektos/act' }} # kics-scan ignore-line uses: github/codeql-action/upload-sarif@v2 with: