diff --git a/.github/workflows/org.python-ci.yml b/.github/workflows/org.python-ci.yml index d1f321b0..698c45be 100644 --- a/.github/workflows/org.python-ci.yml +++ b/.github/workflows/org.python-ci.yml @@ -57,6 +57,8 @@ jobs: sarif_file: ${{env.results-file}} dependency-review: + # This job will fail on a push as it needs to do a diff as part of a PR + if: ${{ github.event_name == 'pull_request' }} permissions: pull-requests: write contents: read