@@ -2,15 +2,15 @@ name: Precommit - Scan security vulnerabilities
22on :
33 pull_request :
44 branches :
5- - ' * '
5+ - " * "
66 paths-ignore :
7- - ' docs/**'
8- - ' README.md'
9- - ' CHANGELOG.md'
10- - ' PROJECT'
11- - ' LICENSE'
12- - ' mesh-worker-service/README.md'
13- - ' tools/README.md'
7+ - " docs/**"
8+ - " README.md"
9+ - " CHANGELOG.md"
10+ - " PROJECT"
11+ - " LICENSE"
12+ - " mesh-worker-service/README.md"
13+ - " tools/README.md"
1414
1515permissions :
1616 pull-requests : write
@@ -34,10 +34,10 @@ jobs:
3434 repository : ${{github.event.pull_request.head.repo.full_name}}
3535 ref : ${{ github.event.pull_request.head.sha }}
3636
37- - name : Set up GO 1.24.6
37+ - name : Set up GO 1.24.10
3838 uses : actions/setup-go@v1
3939 with :
40- go-version : 1.24.6
40+ go-version : 1.24.10
4141 id : go
4242
4343 - name : InstallKubebuilder
6868 - name : Run Trivy vulnerability scanner
6969 uses : aquasecurity/trivy-action@master
7070 with :
71- image-ref : ' function-mesh-operator:latest'
72- format : ' table'
73- exit-code : ' 1 '
71+ image-ref : " function-mesh-operator:latest"
72+ format : " table"
73+ exit-code : " 1 "
7474
7575 - name : Build runner images
7676 run : |
@@ -80,46 +80,46 @@ jobs:
8080 id : scan-java-runner
8181 uses : aquasecurity/trivy-action@master
8282 with :
83- image-ref : ' pulsar-functions-java-runner:latest'
84- format : ' table'
85- exit-code : ' 0 '
83+ image-ref : " pulsar-functions-java-runner:latest"
84+ format : " table"
85+ exit-code : " 0 "
8686
8787 - name : Run Trivy vulnerability scanner for python
8888 id : scan-python-runner
8989 uses : aquasecurity/trivy-action@master
9090 with :
91- image-ref : ' pulsar-functions-python-runner:latest'
92- format : ' table'
93- exit-code : ' 0 '
91+ image-ref : " pulsar-functions-python-runner:latest"
92+ format : " table"
93+ exit-code : " 0 "
9494
9595 - name : Run Trivy vulnerability scanner for go
9696 id : scan-go-runner
9797 uses : aquasecurity/trivy-action@master
9898 with :
99- image-ref : ' pulsar-functions-go-runner:latest'
100- format : ' table'
101- exit-code : ' 0 '
99+ image-ref : " pulsar-functions-go-runner:latest"
100+ format : " table"
101+ exit-code : " 0 "
102102
103103 - name : Run Trivy vulnerability scanner for java with pulsarctl
104104 id : scan-java-pulsarctl-runner
105105 uses : aquasecurity/trivy-action@master
106106 with :
107- image-ref : ' pulsar-functions-pulsarctl-java-runner:latest'
108- format : ' table'
109- exit-code : ' 0 '
107+ image-ref : " pulsar-functions-pulsarctl-java-runner:latest"
108+ format : " table"
109+ exit-code : " 0 "
110110
111111 - name : Run Trivy vulnerability scanner for python with pulsarctl
112112 id : scan-python-pulsarctl-runner
113113 uses : aquasecurity/trivy-action@master
114114 with :
115- image-ref : ' pulsar-functions-pulsarctl-python-runner:latest'
116- format : ' table'
117- exit-code : ' 0 '
115+ image-ref : " pulsar-functions-pulsarctl-python-runner:latest"
116+ format : " table"
117+ exit-code : " 0 "
118118
119119 - name : Run Trivy vulnerability scanner for go with pulsarctl
120120 id : scan-go-pulsarctl-runner
121121 uses : aquasecurity/trivy-action@master
122122 with :
123- image-ref : ' pulsar-functions-pulsarctl-go-runner:latest'
124- format : ' table'
125- exit-code : ' 0 '
123+ image-ref : " pulsar-functions-pulsarctl-go-runner:latest"
124+ format : " table"
125+ exit-code : " 0 "
0 commit comments