diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml index 2c9213f51..d3a63b207 100644 --- a/.github/workflows/pull-requests.yml +++ b/.github/workflows/pull-requests.yml @@ -29,6 +29,7 @@ jobs: container-scanning: name: "Trivy Container Scanning" + if: github.event_name == 'pull_request' uses: ./.github/workflows/partial-trivy-container-scanning.yml code-ql: