Skip to content

Commit 0214b4f

Browse files
committed
feat(ci): add malware scan job to vulnerability scan workflow
Wire up the ClamAV malware-scan action in the vuln-scan workflow so it runs on PRs, push to main, and the daily schedule.
1 parent c6dc200 commit 0214b4f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/vuln-scan.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,3 +85,22 @@ jobs:
8585
uses: github/codeql-action/upload-sarif@b20883b0cd1f46c72ae0ba6d1090936928f9fa30 # v4.32.0
8686
with:
8787
sarif_file: ${{ env.SARIF_OUTPUT }}
88+
89+
malware-scan:
90+
runs-on: ubuntu-latest
91+
timeout-minutes: 30
92+
permissions:
93+
actions: read
94+
contents: read
95+
security-events: write
96+
steps:
97+
- name: Checkout
98+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
99+
with:
100+
persist-credentials: false
101+
102+
- name: Malware Scan
103+
uses: ./.github/actions/malware-scan
104+
with:
105+
scan_path: '.'
106+
category: 'clamav'

0 commit comments

Comments
 (0)