Rename new input to processed-sarif-path

This commit is contained in:
Michael B. Gale
2025-10-22 19:12:38 +01:00
parent 6f0fcbeea7
commit 8ff870a6c2
6 changed files with 6 additions and 6 deletions

View File

@@ -80,7 +80,7 @@ jobs:
with:
output: ${{ runner.temp }}/results
upload-database: false
post-process-output: ${{ runner.temp }}/processed
processed-sarif-path: ${{ runner.temp }}/processed
- name: Upload security SARIF
if: contains(matrix.analysis-kinds, 'code-scanning')
uses: actions/upload-artifact@v4

View File

@@ -70,7 +70,7 @@ inputs:
description: Whether to upload the resulting CodeQL database
required: false
default: "true"
post-process-output:
processed-sarif-path:
description: >-
Before uploading the SARIF files produced by the CodeQL CLI, the CodeQL Action may perform some post-processing
on them. Ordinarily, these processed SARIF files are not saved to disk. However, if a path is provided as an

2
lib/analyze-action.js generated
View File

@@ -96433,7 +96433,7 @@ async function run() {
checkoutPath,
outputDir,
category,
getOptionalInput("post-process-output")
getOptionalInput("processed-sarif-path")
);
} else {
uploadResults = {};

View File

@@ -36,7 +36,7 @@ steps:
with:
output: "${{ runner.temp }}/results"
upload-database: false
post-process-output: "${{ runner.temp }}/processed"
processed-sarif-path: "${{ runner.temp }}/processed"
- name: Upload security SARIF
if: contains(matrix.analysis-kinds, 'code-scanning')
uses: actions/upload-artifact@v4

View File

@@ -359,7 +359,7 @@ async function run() {
checkoutPath,
outputDir,
category,
actionsUtil.getOptionalInput("post-process-output"),
actionsUtil.getOptionalInput("processed-sarif-path"),
);
} else {
uploadResults = {};

View File

@@ -763,7 +763,7 @@ export async function postProcessSarifFiles(
* Writes the processed SARIF file to disk, if needed based on `pathInput` or the `SARIF_DUMP_DIR`.
*
* @param logger The logger to use.
* @param pathInput The input provided for `post-process-output`.
* @param pathInput The input provided for `processed-sarif-path`.
* @param uploadTarget The upload target.
* @param processingResults The results of post-processing SARIF files.
*/