File tree Expand file tree Collapse file tree 2 files changed +15
-3
lines changed
Expand file tree Collapse file tree 2 files changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,14 @@ on: # yamllint disable-line rule:truthy
66 push :
77 branches :
88 - main
9+ workflow_dispatch :
10+ inputs :
11+ security-type :
12+ description : What Security scanning you would like to run?
13+ required : false
14+ default : " all"
15+ type : choice
16+ options : ["all", "sca", "code-scanning", "image"]
917
1018jobs :
1119 build-image :
4553 security-events : write
4654 uses : fabasoad/reusable-workflows/.github/workflows/wf-security-sast.yml@main
4755 with :
48- code-scanning : true
49- image : true
56+ code-scanning : ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'code-scanning' }}
57+ image : ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'image' }}
5058 image-artifact-name : " ${{ needs.build-image.outputs.artifact-name }}"
51- sca : true
59+ sca : ${{ (inputs.security-type || 'all') == 'all' || inputs.security-type == 'sca' }}
Original file line number Diff line number Diff line change 6060Run echo "Hello World!"
6161Hello World!
6262```
63+
64+ ## Contributions
65+
66+ ![ Alt] ( https://repobeats.axiom.co/api/embed/c243117fc32fc6c2d68502024a4bb56e0d1f792d.svg " Repobeats analytics image ")
You can’t perform that action at this time.
0 commit comments