mirror of
https://gitlab.com/components/sast.git
synced 2025-06-30 15:38:29 +02:00
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.
This commit is contained in:
parent
d620ae6189
commit
bdd3ae0385
1 changed files with 1 additions and 0 deletions
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue