From 02807cd425bfbaf9144e1b8820f9097080592bfc Mon Sep 17 00:00:00 2001 From: GitHub Actions Date: Sun, 8 Feb 2026 05:43:33 +0000 Subject: [PATCH] fix: update condition for security scans to handle pull request forks correctly --- .github/workflows/ci-pipeline.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index dc8391c6..1cb0f415 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -545,7 +545,7 @@ jobs: runs-on: ubuntu-latest needs: - codecov-gate - if: inputs.run_security_scans != false && env.IS_FORK != 'true' + if: inputs.run_security_scans != false && (github.event_name != 'pull_request' || github.event.pull_request.head.repo.fork != true) permissions: contents: read security-events: write