mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
Rename new input to processed-sarif-path
This commit is contained in:
2
.github/workflows/__quality-queries.yml
generated
vendored
2
.github/workflows/__quality-queries.yml
generated
vendored
@@ -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
|
||||
|
||||
@@ -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
2
lib/analyze-action.js
generated
@@ -96433,7 +96433,7 @@ async function run() {
|
||||
checkoutPath,
|
||||
outputDir,
|
||||
category,
|
||||
getOptionalInput("post-process-output")
|
||||
getOptionalInput("processed-sarif-path")
|
||||
);
|
||||
} else {
|
||||
uploadResults = {};
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -359,7 +359,7 @@ async function run() {
|
||||
checkoutPath,
|
||||
outputDir,
|
||||
category,
|
||||
actionsUtil.getOptionalInput("post-process-output"),
|
||||
actionsUtil.getOptionalInput("processed-sarif-path"),
|
||||
);
|
||||
} else {
|
||||
uploadResults = {};
|
||||
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user