Skip to content
Merged
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
5 changes: 0 additions & 5 deletions action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@ inputs:
footer:
description: 'A block of Markdown that will be appended to any PR comments posted'
required: false
artifact-prefix:
description: 'Prefix for the artifact name'
required: false
default: ''
code-scanning-path:
description: 'Path to write code scanning SARIF file'
required: false
Expand Down Expand Up @@ -87,5 +83,4 @@ runs:
debug: '${{ inputs.debug }}'
token: '${{ inputs.token || github.token }}'
footer: '${{ inputs.footer }}'
artifact-prefix: '${{ inputs.artifact-prefix }}'
code-scanning-path: '${{ inputs.code-scanning-path }}'
4 changes: 1 addition & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,7 @@ async function runAnalysis() {
}
}

const artifactPrefix = getInput('artifact-prefix')
const artifactName =
artifactPrefix !== '' ? artifactPrefix + '-results-' + target : 'results-' + target
const artifactName = 'results-' + target
info(`Uploading artifact '${artifactName}' with ${toUpload.length} file(s)`)
await uploadArtifact(artifactName, ...toUpload)
setOutput(`${target}-completed`, true)
Expand Down
Loading