Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Rachael Sewell <rachmari@github.com> Co-authored-by: Ashish Keshan <ashkeshan@gmail.com>
772 B
772 B
-
{% data variables.product.prodname_codeql %} advanced setup for {% data variables.product.prodname_code_scanning %}: update the
analyzestep to limit the number of paths to a maximum of one or zero.- name: Perform CodeQL Analysis uses: {% data reusables.actions.action-codeql-action-analyze %} env: CODEQL_ACTION_EXTRA_OPTIONS: '{"database":{"interpret-results":["--max-paths", 1]}}' -
{% data variables.product.prodname_codeql_cli %}
database analyze: update the database analysis command to include the--max-paths=1flag. For more information, see AUTOTITLE.
Note
The
max-pathssetting affects the results of all dataflow queries.