Skip to content

Commit 780ab52

Browse files
author
Thomas Lam
committed
fix(ci) checkov only in chart dir
1 parent 2ffab6f commit 780ab52

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/security-checkov.yaml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,12 @@ name: Checkov Security Scan
1919
on:
2020
pull_request:
2121
branches: [main]
22+
paths:
23+
- 'chart/**'
2224
push:
2325
branches: [main]
26+
paths:
27+
- 'chart/**'
2428

2529
jobs:
2630
checkov:
@@ -31,7 +35,6 @@ jobs:
3135
- name: Run Checkov
3236
uses: bridgecrewio/checkov-action@master
3337
with:
34-
directory: .
35-
framework: dockerfile,kubernetes,helm
36-
skip_path: k8s-tests/
38+
directory: chart
39+
framework: helm
3740
output_format: cli

0 commit comments

Comments
 (0)