2020-04-28 17:46:47 +03:00
name: 'CodeQL : Init'
2020-11-13 15:51:25 +03:00
description : 'Set up CodeQL'
2020-04-28 17:46:47 +03:00
author : 'GitHub'
inputs :
tools :
description : URL of CodeQL tools
required : false
2020-07-10 13:54:26 +03:00
# If not specified the Action will check in several places until it finds the CodeQL tools.
2020-04-28 17:46:47 +03:00
languages :
description : The languages to be analysed
required : false
token :
default : ${{ github.token }}
2020-06-15 17:52:53 +03:00
matrix :
default : ${{ toJson(matrix) }}
2020-04-28 17:46:47 +03:00
config-file :
description : Path of the config file to use
required : false
2021-05-17 12:35:09 +03:00
db-location :
description : Path where CodeQL databases should be created. If not specified, a temporary directory will be used.
required : false
2020-07-27 18:33:26 +03:00
queries :
2020-08-27 19:11:56 +03:00
description : Comma-separated list of additional queries to run. By default, this overrides the same setting in a configuration file; prefix with "+" to use both sets of queries.
2020-07-27 18:33:26 +03:00
required : false
2021-06-24 01:41:52 +03:00
packs :
description : >-
2021-06-25 00:50:34 +03:00
[ Experimental] Comma-separated list of packs to run. Reference a pack in the format `scope/name[@version]`. If `version` is not
2021-06-24 01:41:52 +03:00
specified, then the latest version of the pack is used. By default, this overrides the same setting in a
configuration file; prefix with "+" to use both sets of packs.
2021-06-25 00:50:34 +03:00
This input is only available in single-language analyses. To use packs in multi-language
analyses, you must specify packs in the codeql-config.yml file.
2021-06-24 01:41:52 +03:00
required : false
2021-01-12 15:09:22 +03:00
external-repository-token :
description : A token for fetching external config files and queries if they reside in a private repository.
required : false
2020-09-11 11:53:41 +03:00
setup-python-dependencies :
description : Try to auto-install your python dependencies
required : true
default : 'true'
2021-06-29 23:16:32 +03:00
source-root :
2021-06-30 20:32:07 +03:00
description : Path of the root source code directory, relative to $GITHUB_WORKSPACE.
2021-06-30 00:00:55 +03:00
required : false
2021-10-29 01:09:59 +03:00
ram :
description : >-
The amount of memory in MB that can be used by CodeQL extractors.
By default, CodeQL extractors will use most of the memory available in the system
(which for GitHub-hosted runners is 6GB for Linux, 5.5GB for Windows, and 13GB for macOS).
This input also sets the amount of memory that can later be used by the "analyze" action.
required : false
threads :
description : >-
The number of threads that can be used by CodeQL extractors.
By default, CodeQL extractors will use all the hardware threads available in the system
(which for GitHub-hosted runners is 2 for Linux and Windows and 3 for macOS).
This input also sets the number of threads that can later be used by the "analyze" action.
required : false
2021-10-28 16:15:22 +03:00
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'
2022-01-07 16:11:51 +03:00
debug-artifact-name :
description : >-
The name of the artifact to store debugging information in.
This is only used when debug mode is enabled.
required : false
debug-database-name :
description : >-
The name of the database uploaded to the debugging artifact.
This is only used when debug mode is enabled.
required : false
2020-11-04 18:38:31 +03:00
outputs :
codeql-path :
2020-11-04 21:57:50 +03:00
description : The path of the CodeQL binary used for analysis
2020-04-28 17:46:47 +03:00
runs :
2022-02-03 20:39:26 +03:00
using : 'node16'
2020-08-24 17:09:02 +03:00
main : '../lib/init-action.js'