From a8a193cdcfc3900bd5daf1139e556df4deb6c420 Mon Sep 17 00:00:00 2001 From: Jordan Dominion Date: Sat, 17 Aug 2024 12:25:54 -0400 Subject: [PATCH] Fix CI Pipeline conditional for sure this time --- .github/workflows/ci-security.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci-security.yml b/.github/workflows/ci-security.yml index c0cb4ac3b3..d89d2d3055 100644 --- a/.github/workflows/ci-security.yml +++ b/.github/workflows/ci-security.yml @@ -61,7 +61,7 @@ jobs: ci-pipline-workflow-call: name: CI Pipeline needs: security-checkpoint - if: (!(cancelled() || failure()) && (!(github.event_name == 'pull_request_target' && (github.event.pull_request.head.repo.id != github.event.pull_request.base.repo.id || github.event.pull_request.user.id == 49699333)) || needs.security-checkpoint.result == 'success')) + if: (!(cancelled() || failure()) && (needs.security-checkpoint.result == 'success' || (github.event_name != 'pull_request_target' && github.event.pull_request.head.repo.id == github.event.pull_request.base.repo.id && github.event.pull_request.user.id != 49699333))) uses: ./.github/workflows/ci-pipeline.yml secrets: inherit with: