You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: analyze/action.yml
+8
Original file line number
Diff line number
Diff line change
@@ -45,6 +45,12 @@ inputs:
45
45
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
46
46
required: false
47
47
default: ${{ github.workspace }}
48
+
ref:
49
+
description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable."
50
+
required: false
51
+
sha:
52
+
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."
53
+
required: false
48
54
category:
49
55
description: String used by Code Scanning for matching the analyses
50
56
required: false
@@ -63,6 +69,8 @@ inputs:
63
69
outputs:
64
70
db-locations:
65
71
description: A map from language to absolute path for each database created by CodeQL.
Copy file name to clipboardExpand all lines: upload-sarif/action.yml
+9
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,12 @@ inputs:
13
13
description: "The path at which the analyzed repository was checked out. Used to relativize any absolute paths in the uploaded SARIF file."
14
14
required: false
15
15
default: ${{ github.workspace }}
16
+
ref:
17
+
description: "The ref where results will be uploaded. If not provided, the Action will use the GITHUB_REF environment variable."
18
+
required: false
19
+
sha:
20
+
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."
21
+
required: false
16
22
token:
17
23
default: ${{ github.token }}
18
24
matrix:
@@ -24,6 +30,9 @@ inputs:
24
30
description: If true, the Action will wait for the uploaded SARIF to be processed before completing.
0 commit comments