diff --git a/.github/workflows/Vulnerability-Scan.yaml b/.github/workflows/Vulnerability-Scan.yaml index e475ea29..99adb42c 100644 --- a/.github/workflows/Vulnerability-Scan.yaml +++ b/.github/workflows/Vulnerability-Scan.yaml @@ -198,7 +198,7 @@ jobs: - test-vulnerabilities env: GITHUB_TOKEN: ${{ secrets.ROCKSBOT_TOKEN }} - if: ${{ !cancelled() }} + if: ${{ !cancelled() && github.event_name != 'pull_request' }} steps: - uses: actions/checkout@v4