From bcb7a8fd6279205828e4ec40bb4643d7de62ec26 Mon Sep 17 00:00:00 2001 From: Jeremy Dubreil Date: Thu, 21 May 2026 21:09:28 +0000 Subject: [PATCH] chore(COD-7026): remove the unused artifact-prefix input --- action.yaml | 5 ----- src/index.ts | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/action.yaml b/action.yaml index f5e3717f..f2494f1f 100644 --- a/action.yaml +++ b/action.yaml @@ -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 @@ -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 }}' diff --git a/src/index.ts b/src/index.ts index fb43db75..98492d2c 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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)