Adds ref and SHA as inputs, and sarif-id as output
This commit is contained in:
parent
e9aa2c6f62
commit
980fd4ed38
7 changed files with 51 additions and 6 deletions
|
|
@ -45,6 +45,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
|
||||
category:
|
||||
description: String used by Code Scanning for matching the analyses
|
||||
required: false
|
||||
|
|
@ -63,6 +69,8 @@ inputs:
|
|||
outputs:
|
||||
db-locations:
|
||||
description: A map from language to absolute path for each database created by CodeQL.
|
||||
sarif-id:
|
||||
description: The ID of the uploaded sarif file.
|
||||
runs:
|
||||
using: "node12"
|
||||
main: "../lib/analyze-action.js"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue