Skip to content

Configure pack cache directory #754

Answered by aibaars
thepalbi asked this question in General
Discussion options

You must be logged in to vote

The --additional-packs flag can be used to inform CodeQL about additional folders where QL packs can be found.

Instead of manually adding the --additional-packs flag each time you run CodeQL, you can define default flags in a configuration file: https://docs.github.com/en/code-security/codeql-cli/using-the-codeql-cli/specifying-command-options-in-a-codeql-configuration-file

The default location of the configuration file is $HOME/.config/codeql/config, however you can override this by setting the CODEQL_CONFIG_FILE environment variable.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by thepalbi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants