Skip to content

Commit

Permalink
Change option to a more general debug flag
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardopirovano committed Nov 1, 2021
1 parent 1dc864e commit 5425460
Show file tree
Hide file tree
Showing 34 changed files with 123 additions and 71 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/__debug-artifacts.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions analyze/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ inputs:
description: Upload the SARIF file to Code Scanning
required: false
default: "true"
debug-artifacts:
description: Create and upload to the Actions run some artifacts that may be useful for debugging or other purposes.
required: false
default: "false"
cleanup-level:
description: "Level of cleanup to perform on CodeQL databases at the end of the analyze step. This should either be 'none' to skip cleanup, or be a valid argument for the --mode flag of the CodeQL CLI command 'codeql database cleanup' as documented at https://codeql.github.com/docs/codeql-cli/manual/database-cleanup"
required: false
Expand Down
16 changes: 10 additions & 6 deletions init/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: 'CodeQL: Init'
description: 'Set up CodeQL'
author: 'GitHub'
name: "CodeQL: Init"
description: "Set up CodeQL"
author: "GitHub"
inputs:
tools:
description: URL of CodeQL tools
Expand Down Expand Up @@ -37,13 +37,17 @@ inputs:
setup-python-dependencies:
description: Try to auto-install your python dependencies
required: true
default: 'true'
default: "true"
source-root:
description: Path of the root source code directory, relative to $GITHUB_WORKSPACE.
required: false
debug:
description: Enable debugging mode. This will result in more output being produced which may be useful when debugging certain issues.
required: false
default: "false"
outputs:
codeql-path:
description: The path of the CodeQL binary used for analysis
runs:
using: 'node12'
main: '../lib/init-action.js'
using: "node12"
main: "../lib/init-action.js"
3 changes: 3 additions & 0 deletions lib/analysis-paths.test.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/analysis-paths.test.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions lib/analyze-action.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5425460

Please sign in to comment.