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 420d5be commit a6eabc1Copy full SHA for a6eabc1
.github/workflows/check-cves.yml
@@ -13,6 +13,7 @@ jobs:
13
uses: actions/checkout@v4
14
15
- name: Scan current project
16
+ id: scan
17
uses: anchore/scan-action@v6
18
with:
19
path: "."
@@ -21,12 +22,12 @@ jobs:
21
22
output-format: json
23
24
- name: Print scan results
- run: .github/scripts/format-cve-scan-results.sh results.json > $GITHUB_STEP_SUMMARY
25
+ run: .github/scripts/format-cve-scan-results.sh ${{ steps.scan.outputs.json }} > $GITHUB_STEP_SUMMARY
26
if: always()
27
28
- name: Archive CVE scan results
29
uses: actions/upload-artifact@v4
30
31
32
name: cve-scan-results-${{ github.sha }}-${{ github.run_id }}-${{ github.run_number }}
- path: results.json
33
+ path: ${{ steps.scan.outputs.json }}
0 commit comments