File tree 3 files changed +30
-23
lines changed
3 files changed +30
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : Dependency Review
2
+
3
+ on :
4
+ pull_request :
5
+ paths-ignore :
6
+ - " **/*.md"
7
+
8
+ permissions :
9
+ contents : read
10
+
11
+ jobs :
12
+ dependency-review :
13
+ name : Dependency Review
14
+ runs-on : ubuntu-22.04
15
+ steps :
16
+ - name : Checkout Repository
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Dependency Review
20
+ uses : actions/dependency-review-action@v4
Original file line number Diff line number Diff line change 1
1
name : Security
2
2
3
3
on :
4
+ push :
5
+ branches : [main, protected]
4
6
pull_request :
5
7
paths-ignore :
6
8
- " **/*.md"
9
+ schedule :
10
+ - cron : ' 30 10 * * 1'
11
+ workflow_dispatch :
7
12
8
13
permissions :
9
14
contents : read
10
15
11
16
jobs :
12
- dependency-review :
13
- name : Dependency Review
14
- runs-on : ubuntu-22.04
15
- steps :
16
- - name : Checkout Repository
17
- uses : actions/checkout@v4
18
-
19
- - name : Dependency Review
20
- uses : actions/dependency-review-action@v4
21
-
22
17
vulnerability-scanner :
23
18
name : Vulnerability Scanner
24
19
permissions :
Original file line number Diff line number Diff line change 19
19
QUAY_IMAGE : " quay.io/enix/kube-image-keeper"
20
20
TRIVY_DB_REPOSITORY : " public.ecr.aws/aquasecurity/trivy-db:2"
21
21
steps :
22
+ - name : Trigger Security workflow
23
+ uses : benc-uk/workflow-dispatch@v1
24
+ with :
25
+ workflow : Security
26
+
22
27
- name : Checkout Repository
23
28
uses : actions/checkout@v4
24
29
with :
28
33
id : check-for-cc
29
34
uses : webiny/action-conventional-commits@v1.3.0
30
35
31
- - name : Run Trivy vulnerability scanner
32
- uses : aquasecurity/trivy-action@0.30.0
33
- with :
34
- scan-type : ' fs'
35
- ignore-unfixed : true
36
- format : ' sarif'
37
- output : ' trivy-results.sarif'
38
-
39
- - name : Upload Trivy scan results to GitHub Security tab
40
- uses : github/codeql-action/upload-sarif@v3
41
- with :
42
- sarif_file : ' trivy-results.sarif'
43
-
44
36
- name : Set up Docker Buildx
45
37
uses : docker/setup-buildx-action@v3
46
38
You can’t perform that action at this time.
0 commit comments