Skip to content

Commit af80df1

Browse files
authored
Fix output file name in SBOM workflow
1 parent 4894c00 commit af80df1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/automated-sbom-repo-scan.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
with:
2424
path: "."
2525
format: cyclonedx-json
26-
artifact-name: sbom-repo-${{ github.event.repository.name }}-${{ github.sha }}.cdx.json
26+
output-file: sbom-repo-${{ github.event.repository.name }}-${{ github.sha }}.cdx.json
2727

2828
- uses: anchore/scan-action@v7
2929
id: sbom-scan
3030
with:
31-
path: "."
31+
sbom: sbom-repo-${{ github.event.repository.name }}-${{ github.sha }}.cdx.json
3232
fail-build: true
3333
severity-cutoff: low
3434
only-fixed: true

0 commit comments

Comments
 (0)