File tree Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Expand file tree Collapse file tree 1 file changed +15
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : " Infra: CVE checks"
2
-
3
2
on :
4
3
pull_request :
5
4
types : [ "opened", "reopened", "synchronize" ]
6
5
paths :
7
- - ' infra/**' # Run only when files in 'infra/' change
6
+ - ' backend/**'
7
+ - ' frontend/**'
8
+ - ' api/**'
9
+ - ' gradle/**'
10
+ - ' Dockerfile'
11
+ - ' build.gradle'
12
+ - ' settings.gradle'
8
13
push :
9
14
branches : [ "main" ]
10
15
paths :
11
- - ' infra/**'
16
+ - ' backend/**'
17
+ - ' frontend/**'
18
+ - ' api/**'
19
+ - ' gradle/**'
20
+ - ' Dockerfile'
21
+ - ' build.gradle'
22
+ - ' settings.gradle'
12
23
workflow_dispatch :
13
24
schedule :
14
- # * is a special character in YAML so you have to quote this string
15
25
- cron : ' 0 8 15 * *'
16
26
17
27
permissions :
18
28
contents : read
19
29
20
30
jobs :
21
-
22
31
check-cves :
23
32
runs-on : ubuntu-latest
24
33
73
82
cache-to : type=local,dest=/tmp/.buildx-cache
74
83
75
84
- name : Run CVE checks
76
- uses : aquasecurity/trivy-action@0 .29.0
85
+ uses : aquasecurity/trivy-action@v0 .29.0
77
86
with :
78
87
image-ref : " ghcr.io/kafbat/kafka-ui:latest"
79
88
format : " table"
You can’t perform that action at this time.
0 commit comments