From 312da6bf5a8cb5ed1f674fbb9480a7094e3bca25 Mon Sep 17 00:00:00 2001 From: Melissa Beldman Date: Tue, 3 Jun 2025 16:52:05 +0000 Subject: [PATCH] Update file sast.yml --- templates/sast.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/sast.yml b/templates/sast.yml index 850aeb0..d937e76 100644 --- a/templates/sast.yml +++ b/templates/sast.yml @@ -192,7 +192,7 @@ pmd-apex-sast: # to cover both the *MR pipeline* and the *branch pipeline* workflows. # 1. Run the job in an *MR* pipeline if MR pipelines for AST are enabled and there's an open merge request. - - if: '$[[ inputs.enable_mr_pipelines ]]" == "true" && + - if: '"$[[ inputs.enable_mr_pipelines ]]" == "true" && $CI_PIPELINE_SOURCE == "merge_request_event"' exists: !reference [.pmd-apex-exist-rules, exists]