mirror of
https://github.com/github/codeql-action.git
synced 2025-12-06 07:48:17 +08:00
Adds ref and SHA as inputs, and sarif-id as output
This commit is contained in:
@@ -13,6 +13,12 @@ inputs:
|
||||
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
|
||||
required: false
|
||||
default: ${{ github.workspace }}
|
||||
ref:
|
||||
description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable."
|
||||
required: false
|
||||
sha:
|
||||
description: "The hash of the HEAD of the ref where results will be uploaded. If not provided, the Action will use the GITHUB_SHA environment variable."
|
||||
required: false
|
||||
token:
|
||||
default: ${{ github.token }}
|
||||
matrix:
|
||||
@@ -24,6 +30,9 @@ inputs:
|
||||
description: If true, the Action will wait for the uploaded SARIF to be processed before completing.
|
||||
required: true
|
||||
default: "false"
|
||||
outputs:
|
||||
sarif-id:
|
||||
description: The ID of the uploaded sarif file.
|
||||
runs:
|
||||
using: 'node12'
|
||||
main: '../lib/upload-sarif-action.js'
|
||||
|
||||
Reference in New Issue
Block a user