Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(COD-4237): removing deprecated option --eval-indirect-dependencies #212

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
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