Skip to content

Commit 8362b7e

Browse files
authored
Merge pull request #4 from rbrayner/fix-sbom-artifact-upload
Merge pull request #3 from rbrayner/add-sbom-scan
2 parents ca6fa7c + ca1c05e commit 8362b7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/security_analysis.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,16 +51,16 @@ jobs:
5151
run: npm install --global @cyclonedx/cyclonedx-npm
5252
- name: Generate SBOM file
5353
run: npx @cyclonedx/cyclonedx-npm --output-file sbom.json
54-
- name: Scan SBOM
55-
uses: anchore/scan-action@v3
56-
with:
57-
sbom: "sbom.json"
58-
output-format: table
5954
- name: Upload SBOM artifact
6055
uses: actions/upload-artifact@v3
6156
with:
6257
name: sbom
6358
path: sbom.json
59+
- name: Scan SBOM
60+
uses: anchore/scan-action@v3
61+
with:
62+
sbom: "sbom.json"
63+
output-format: table
6464

6565
bearer:
6666
name: Bearer

0 commit comments

Comments
 (0)