Skip to content

Commit 44ba7b8

Browse files
committed
Updating workflows to be blocked if Wiz Scan fails
1 parent 25237d2 commit 44ba7b8

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/pipeline.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,13 @@ on:
99
workflow_dispatch: {}
1010

1111
jobs:
12+
#
13+
# Security Scan Stage
14+
#
15+
wiz-scan:
16+
uses: ./.github/workflows/wiz-scan.yml
17+
secrets: inherit
18+
1219
#
1320
# Building Stage
1421
#
@@ -50,7 +57,9 @@ jobs:
5057
shell: pwsh
5158
build-image:
5259
runs-on: ubuntu-latest
53-
needs: generate-version
60+
needs:
61+
- generate-version
62+
- wiz-scan
5463
permissions:
5564
packages: write
5665
outputs:

0 commit comments

Comments
 (0)