We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f74185 commit 2ce573bCopy full SHA for 2ce573b
.github/workflows/ci.yaml
@@ -191,6 +191,7 @@ jobs:
191
192
- name: Run Trivy vulnerability scanner
193
uses: aquasecurity/[email protected]
194
+ if: github.ref == 'refs/heads/main'
195
with:
196
image-ref: envbox:latest
197
format: sarif
@@ -199,12 +200,14 @@ jobs:
199
200
201
- name: Upload Trivy scan results to GitHub Security tab
202
uses: github/codeql-action/upload-sarif@v2
203
204
205
sarif_file: trivy-results.sarif
206
category: "Trivy"
207
208
- name: Upload Trivy scan results as an artifact
209
uses: actions/upload-artifact@v3
210
211
212
name: trivy
213
path: trivy-results.sarif
0 commit comments