Commit 167acba
authored
fix(security-scans): use step outcome instead of conclusion for snyk (#392)
The Snyk step uses `continue-on-error: true`, which overrides
`conclusion` to `success` even when Snyk fails. The downstream steps
checking `steps.snyk.conclusion` would always run, causing the pipeline
to break when Snyk didn't produce a sarif file.
Use `outcome` instead, which reflects the actual result of the step
before `continue-on-error` is applied.
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>1 parent fdc11ef commit 167acba
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
0 commit comments