From bdd3ae0385f6776221c9137635b620082da30938 Mon Sep 17 00:00:00 2001 From: Fabio Pitino Date: Fri, 18 Aug 2023 10:12:23 +0000 Subject: [PATCH] Fix snippet when using SAST_DISABLED The job rules don't work correctly when the first rule is not met and no pipeline is created. --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a0b9ae8..aba8d4d 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,7 @@ include: rules: - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" when: never + - when: always ``` Otherwise all SAST jobs will always run when applicable.