Skip to content

Commit bc31f60

Browse files
Add an option to upload some debugging artifacts
1 parent 4293754 commit bc31f60

40 files changed

+374
-65
lines changed

.github/workflows/__debug-artifacts.yml

Lines changed: 75 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analyze/action.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
name: 'CodeQL: Finish'
2-
description: 'Finalize CodeQL database'
3-
author: 'GitHub'
1+
name: "CodeQL: Finish"
2+
description: "Finalize CodeQL database"
3+
author: "GitHub"
44
inputs:
55
check_name:
66
description: The name of the check run to add text to.
77
required: false
88
output:
99
description: The path of the directory in which to save the SARIF results
1010
required: false
11-
default: '../results'
11+
default: "../results"
1212
upload:
13-
description: Upload the SARIF file
13+
description: Upload the SARIF file to Code Scanning
1414
required: false
1515
default: "true"
1616
cleanup-level:
@@ -60,5 +60,5 @@ outputs:
6060
db-locations:
6161
description: A map from language to absolute path for each database created by CodeQL.
6262
runs:
63-
using: 'node12'
64-
main: '../lib/analyze-action.js'
63+
using: "node12"
64+
main: "../lib/analyze-action.js"

init/action.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ inputs:
5555
(which for GitHub-hosted runners is 2 for Linux and Windows and 3 for macOS).
5656
This input also sets the number of threads that can later be used by the "analyze" action.
5757
required: false
58+
debug:
59+
description: Enable debugging mode. This will result in more output being produced which may be useful when debugging certain issues.
60+
required: false
61+
default: 'false'
5862
outputs:
5963
codeql-path:
6064
description: The path of the CodeQL binary used for analysis

lib/analysis-paths.test.js

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analysis-paths.test.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/analyze-action.js

Lines changed: 47 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)