Merge branch 'fp-fix-readme-snippet-for-rules' into 'main'

Fix snippet when using SAST_DISABLED

See merge request gitlab-components/sast!6
This commit is contained in:
Fabio Pitino 2023-08-29 09:42:07 +00:00
commit 9476570e75

View file

@ -25,6 +25,7 @@ include:
rules: rules:
- if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1" - if: $SAST_DISABLED == "true" || $SAST_DISABLED == "1"
when: never when: never
- when: always
``` ```
Otherwise all SAST jobs will always run when applicable. Otherwise all SAST jobs will always run when applicable.