File tree 3 files changed +9
-7
lines changed
3 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 92
92
93
93
trivy-scan :
94
94
needs : build
95
+ permissions :
96
+ contents : read
97
+ security-events : write
95
98
uses : kedacore/keda/.github/workflows/template-trivy-scan.yml@main
96
99
with :
97
100
runs-on : ubuntu-latest
@@ -102,6 +105,9 @@ jobs:
102
105
103
106
trivy-scan-metrics-server :
104
107
needs : build
108
+ permissions :
109
+ contents : read
110
+ security-events : write
105
111
strategy :
106
112
matrix :
107
113
runner : [ARM64, ubuntu-latest]
@@ -116,6 +122,9 @@ jobs:
116
122
117
123
trivy-scan-keda :
118
124
needs : build
125
+ permissions :
126
+ contents : read
127
+ security-events : write
119
128
strategy :
120
129
matrix :
121
130
runner : [ARM64, ubuntu-latest]
Original file line number Diff line number Diff line change 13
13
required : true
14
14
type : string
15
15
16
- permissions :
17
- contents : read
18
-
19
16
jobs :
20
17
smoke-tests :
21
18
name : Validate k8s-${{ inputs.kubernetesVersion }}
Original file line number Diff line number Diff line change 31
31
required : true
32
32
type : boolean
33
33
34
- permissions :
35
- contents : read
36
- security-events : write
37
-
38
34
jobs :
39
35
trivy-scan :
40
36
name : Trivy - ${{ inputs.runs-on }} - ${{ inputs.scan-type }} ${{ inputs.image-ref }}
You can’t perform that action at this time.
0 commit comments