Skip to content

Commit 466b088

Browse files
committed
fixes
1 parent 50f54ed commit 466b088

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff 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 }}

scripts/compliance/gen-purls.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ mkdir -p compliance
1212
PKG_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

0 commit comments

Comments
 (0)