Skip to content
This repository was archived by the owner on Mar 30, 2026. It is now read-only.

Commit edc8ee0

Browse files
committed
feat: Add CI workflow for security scanning with Checkov and Trivy
1 parent 121d639 commit edc8ee0

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.github/workflows/ci.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: CI Security Scan
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
jobs:
12+
security-scan:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout code
16+
uses: actions/checkout@v6.0.2
17+
18+
19+
- name: Run Checkov
20+
uses: bridgecrewio/checkov-action@v12
21+
with:
22+
directory: .
23+
config_file: configs/checkov.yml
24+
25+
- name: Run Trivy on repo
26+
uses: aquasecurity/trivy-action@0.35.0
27+
with:
28+
scan-type: fs
29+
path: .
30+
trivy-config: configs/trivy.yaml

0 commit comments

Comments
 (0)