Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ inputs:
description: 'A block of Markdown that will be appended to any PR comments posted'
required: false
eval-indirect-dependencies:
deprecationMessage: 'This input is deprecated. Set this option in the configuration'
description: 'Show vulnerabilities found in transitive dependencies'
required: false
default: false
Expand Down Expand Up @@ -91,4 +92,3 @@ runs:
debug: '${{ inputs.debug }}'
token: '${{ inputs.token || github.token }}'
footer: '${{ inputs.footer }}'
eval-indirect-dependencies: '${{ inputs.eval-indirect-dependencies }}'
4 changes: 0 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ async function runAnalysis() {

info('Analyzing ' + target)
telemetryCollector.addField('tools', 'sca')
const indirectDeps = getInput('eval-indirect-dependencies')
const toUpload: string[] = []

await downloadKeys()
Expand All @@ -59,9 +58,6 @@ async function runAnalysis() {
'--keyring',
trustedKeys,
]
if (indirectDeps.toLowerCase() === 'false') {
args.push('--eval-direct-only')
}
if (debug()) {
args.push('--debug')
}
Expand Down