diff --git a/.github/workflows/__quality-queries.yml b/.github/workflows/__quality-queries.yml index d75f1520f..67ffa3293 100644 --- a/.github/workflows/__quality-queries.yml +++ b/.github/workflows/__quality-queries.yml @@ -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 diff --git a/analyze/action.yml b/analyze/action.yml index 438406761..81af1594c 100644 --- a/analyze/action.yml +++ b/analyze/action.yml @@ -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 diff --git a/lib/analyze-action.js b/lib/analyze-action.js index c5b340b28..0537bf934 100644 --- a/lib/analyze-action.js +++ b/lib/analyze-action.js @@ -96433,7 +96433,7 @@ async function run() { checkoutPath, outputDir, category, - getOptionalInput("post-process-output") + getOptionalInput("processed-sarif-path") ); } else { uploadResults = {}; diff --git a/pr-checks/checks/quality-queries.yml b/pr-checks/checks/quality-queries.yml index 2304daacb..c71a8378d 100644 --- a/pr-checks/checks/quality-queries.yml +++ b/pr-checks/checks/quality-queries.yml @@ -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 diff --git a/src/analyze-action.ts b/src/analyze-action.ts index f69845d2f..91cf55bbf 100644 --- a/src/analyze-action.ts +++ b/src/analyze-action.ts @@ -359,7 +359,7 @@ async function run() { checkoutPath, outputDir, category, - actionsUtil.getOptionalInput("post-process-output"), + actionsUtil.getOptionalInput("processed-sarif-path"), ); } else { uploadResults = {}; diff --git a/src/upload-lib.ts b/src/upload-lib.ts index db2bafd11..f38ae22be 100644 --- a/src/upload-lib.ts +++ b/src/upload-lib.ts @@ -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. */