From a32a573e9dafecd385b8c9ea49dfd76aac3e4109 Mon Sep 17 00:00:00 2001 From: Zhijie Yang Date: Wed, 23 Oct 2024 09:19:15 +0200 Subject: [PATCH] fix: do not crud issues when triggered with pr --- .github/workflows/Vulnerability-Scan.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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