File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -341,10 +341,9 @@ jobs:
341341 remote : https://svc-apix-bot:${{ secrets.APIX_BOT_PAT }}@github.com/${{ github.repository }}
342342 gpg_private_key : ${{ secrets.APIX_BOT_GPG_PRIVATE_KEY }}
343343 passphrase : ${{ secrets.APIX_BOT_PASSPHRASE }}
344- file_to_commit : ' cfn-resources/${{ github.event.inputs.resourceName }}/ compliance/v*/*'
344+ file_to_commit : ' compliance/v*/*'
345345 commit_message :
346- " chore: Update SSDLC report for ${{ needs.publish.outputs.published_version }}"
347- repo-path : " cfn-resources/"
346+ " chore: Update SSDLC report for ${{ steps.extract-version.outputs.VERSION }}"
348347 env :
349348 KONDUKTO_TOKEN : ${{ secrets.KONDUKTO_TOKEN }}
350349 SILKBOMB_IMG : ${{ vars.SILKBOMB_IMG }}
Original file line number Diff line number Diff line change @@ -12,6 +12,6 @@ mkdir -p compliance
1212PKG_JSON=package.json
1313
1414# Output all npm dependencies, devDependencies, and peerDependencies as PURLs to compliance/purls.txt
15- yq -r --output-format json ' .dependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' package.json > compliance/purls.txt
16- yq -r --output-format json ' .devDependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' package.json >> compliance/purls.txt
17- yq -r --output-format json ' .peerDependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' package.json >> compliance/purls.txt
15+ yq -r --output-format json ' .dependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' $PKG_JSON > compliance/purls.txt
16+ yq -r --output-format json ' .devDependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' $PKG_JSON >> compliance/purls.txt
17+ yq -r --output-format json ' .peerDependencies | to_entries | .[] | "pkg:npm/" + .key + "@" + .value' $PKG_JSON >> compliance/purls.txt
You can’t perform that action at this time.
0 commit comments