Skip to content

Commit 52fd0a0

Browse files
committed
fix: Snyk scan
================> EXTRAS <================ > Branch name: main
1 parent 7cf2155 commit 52fd0a0

File tree

1 file changed

+12
-20
lines changed

1 file changed

+12
-20
lines changed

.github/workflows/snyk-container.yml

Lines changed: 12 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,12 @@ jobs:
3939
with:
4040
image: devdrops/php-toolbox:7.4
4141
args: --file=./7.4/Dockerfile
42-
format: sarif
43-
output: 'snyk-7.4.sarif'
42+
sarif: 'snyk-7.4.sarif'
4443
- name: Upload result to GitHub Code Scanning
4544
uses: github/codeql-action/upload-sarif@v2
4645
with:
4746
sarif_file: 'snyk-7.4.sarif'
48-
47+
4948
scan-7-4-xdebug:
5049
needs: build-7-4
5150
permissions:
@@ -62,8 +61,7 @@ jobs:
6261
with:
6362
image: devdrops/php-toolbox:7.4-xdebug
6463
args: --file=./7.4/Dockerfile
65-
format: sarif
66-
output: 'snyk-7.4-xdebug.sarif'
64+
sarif: 'snyk-7.4-xdebug.sarif'
6765
- name: Upload result to GitHub Code Scanning
6866
uses: github/codeql-action/upload-sarif@v2
6967
with:
@@ -98,13 +96,12 @@ jobs:
9896
with:
9997
image: devdrops/php-toolbox:8.0
10098
args: --file=./8.0/Dockerfile
101-
format: sarif
102-
output: 'snyk-8.0.sarif'
99+
sarif: 'snyk-8.0.sarif'
103100
- name: Upload result to GitHub Code Scanning
104101
uses: github/codeql-action/upload-sarif@v2
105102
with:
106103
sarif_file: 'snyk-8.0.sarif'
107-
104+
108105
scan-8-0-xdebug:
109106
needs: build-8-0
110107
permissions:
@@ -121,8 +118,7 @@ jobs:
121118
with:
122119
image: devdrops/php-toolbox:8.0-xdebug
123120
args: --file=./8.0/Dockerfile
124-
format: sarif
125-
output: 'snyk-8.0-xdebug.sarif'
121+
sarif: 'snyk-8.0-xdebug.sarif'
126122
- name: Upload result to GitHub Code Scanning
127123
uses: github/codeql-action/upload-sarif@v2
128124
with:
@@ -157,13 +153,12 @@ jobs:
157153
with:
158154
image: devdrops/php-toolbox:8.1
159155
args: --file=./8.1/Dockerfile
160-
format: sarif
161-
output: 'snyk-8.1.sarif'
156+
sarif: 'snyk-8.1.sarif'
162157
- name: Upload result to GitHub Code Scanning
163158
uses: github/codeql-action/upload-sarif@v2
164159
with:
165160
sarif_file: 'snyk-8.1.sarif'
166-
161+
167162
scan-8-1-xdebug:
168163
needs: build-8-1
169164
permissions:
@@ -180,8 +175,7 @@ jobs:
180175
with:
181176
image: devdrops/php-toolbox:8.1-xdebug
182177
args: --file=./8.1/Dockerfile
183-
format: sarif
184-
output: 'snyk-8.1-xdebug.sarif'
178+
sarif: 'snyk-8.1-xdebug.sarif'
185179
- name: Upload result to GitHub Code Scanning
186180
uses: github/codeql-action/upload-sarif@v2
187181
with:
@@ -216,13 +210,12 @@ jobs:
216210
with:
217211
image: devdrops/php-toolbox:8.2
218212
args: --file=./8.2/Dockerfile
219-
format: sarif
220-
output: 'snyk-8.2.sarif'
213+
sarif: 'snyk-8.2.sarif'
221214
- name: Upload result to GitHub Code Scanning
222215
uses: github/codeql-action/upload-sarif@v2
223216
with:
224217
sarif_file: 'snyk-8.2.sarif'
225-
218+
226219
scan-8-2-xdebug:
227220
needs: build-8-2
228221
permissions:
@@ -239,8 +232,7 @@ jobs:
239232
with:
240233
image: devdrops/php-toolbox:8.2-xdebug
241234
args: --file=./8.2/Dockerfile
242-
format: sarif
243-
output: 'snyk-8.2-xdebug.sarif'
235+
sarif: 'snyk-8.2-xdebug.sarif'
244236
- name: Upload result to GitHub Code Scanning
245237
uses: github/codeql-action/upload-sarif@v2
246238
with:

0 commit comments

Comments
 (0)