From eebe25fb77268729bbc0a77db02a500107c9dd6d Mon Sep 17 00:00:00 2001 From: megli2 Date: Mon, 4 Dec 2023 16:30:47 +0100 Subject: [PATCH] change paths of generated boms --- .github/workflows/owasp-dt-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/owasp-dt-check.yml b/.github/workflows/owasp-dt-check.yml index a1ed1c7f44..d2c2b70b24 100644 --- a/.github/workflows/owasp-dt-check.yml +++ b/.github/workflows/owasp-dt-check.yml @@ -24,11 +24,11 @@ jobs: - name: 'Generate SBOM for npm dependencies' working-directory: frontend - run: cdxgen -o ../target/sbom-npm.xml -t npm . + run: cdxgen -o ../sbom-npm.xml -t npm . - name: 'Merge frontend and backend SBOMs' run: | - docker run --rm -v $(pwd):/data cyclonedx/cyclonedx-cli merge --input-files backend/target/bom.xml target/sbom-npm.xml --output-file target/sbom.xml + docker run --rm -v $(pwd):/data cyclonedx/cyclonedx-cli merge --input-files backend/target/bom.xml ../sbom-npm.xml --output-file target/sbom.xml - name: 'Push merged SBOM to dependency track' env: