From ff74e9b73baea60f2548d08da63c62c42a940b95 Mon Sep 17 00:00:00 2001 From: Dominik Bamberger Date: Mon, 26 Jul 2021 11:04:02 +0200 Subject: [PATCH] Mention optional '+' modifier to combine input with config file. --- .../codeql-cli/analyzing-databases-with-the-codeql-cli.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst index ce873869086..570067335a9 100644 --- a/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst +++ b/docs/codeql/codeql-cli/analyzing-databases-with-the-codeql-cli.rst @@ -203,9 +203,10 @@ In the CodeQL workflow file, you can add ``packs`` as input for the ``init`` act uses: github/codeql-action@v1 with: - packs: codeql/pack1@~1.2.3, codeql/pack2 + packs: codeql/pack1@~1.2.3, +codeql/pack2 This format does not support multi-language analyses. +You can prefix a package reference with a plus sign, resulting in the input being combined with the config file. Without it, the input overwrites the config file. Running all queries in a directory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~