Skip to content

Commit 0b70a1d

Browse files
authored
ci: enable security checks on push (#3151)
Signed-off-by: mramotowski <[email protected]>
1 parent 6ea7623 commit 0b70a1d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/security-checks.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ on:
6161
required: true
6262
type: choice
6363
options:
64-
- "bandit,semgrep,trivy,zizmor" # Default set
65-
- "bandit,clamav,semgrep,trivy,zizmor" # Full set
66-
- "bandit,semgrep" # Minimal set
67-
default: "bandit,semgrep,trivy"
64+
- "bandit,semgrep"
65+
- "bandit,semgrep,trivy,zizmor"
66+
- "bandit,clamav,semgrep,trivy,zizmor"
67+
default: "bandit,clamav,semgrep,trivy,zizmor"
6868
scan-scope:
6969
description: "Scan scope"
7070
required: true
@@ -101,8 +101,8 @@ jobs:
101101
uses: ./.github/workflows/_reusable-security-scan.yaml
102102
with:
103103
# For scheduled runs, use full scan configuration
104-
tools: ${{ github.event_name == 'schedule' && 'bandit,clamav,semgrep,trivy,zizmor' || inputs.tools }}
105-
scan-scope: ${{ github.event_name == 'schedule' && 'all' || inputs.scan-scope }}
106-
severity-level: ${{ github.event_name == 'schedule' && 'LOW' || inputs.severity-level }}
107-
confidence-level: ${{ github.event_name == 'schedule' && 'LOW' || inputs.confidence-level }}
104+
tools: ${{ inputs.tools }}
105+
scan-scope: ${{ inputs.scan-scope }}
106+
severity-level: ${{ inputs.severity-level }}
107+
confidence-level: ${{ inputs.confidence-level }}
108108
fail-on-findings: false # reports only

0 commit comments

Comments
 (0)