title | shortTitle | intro | allowTitleToDifferFromFilename | versions | redirect_from | |||
---|---|---|---|---|---|---|---|---|
A particular language is causing default setup to fail |
Default setup fails with a language |
When you enable default setup, all languages selected for analysis must be successfully analyzed, or the configuration of default setup will fail. |
true |
|
|
To enable default setup when a language previously failed, you must reconfigure default setup, deselecting all failing languages for analysis.
-
If default setup fails, navigate to the main page of your repository, then click {% octicon "gear" aria-hidden="true" %} Settings.
-
In the "Security" section of the sidebar, click {% octicon "codescan" aria-hidden="true" %} Code security and analysis.
-
Navigate to the "{% data variables.product.prodname_code_scanning_caps %}" section. Then, in the error message reading "{% data variables.product.prodname_codeql %} default configuration failed", click failed.
-
In the "Jobs" section of the workflow run summary for default setup, identify any failing jobs associated with specific languages. These jobs will be labeled {% octicon "x-circle-fill" aria-hidden="true" %} Analyze (LANGUAGE).
-
Once you have determined which language-specific jobs are failing, configure default setup once more and deselect the failing languages for analysis. For more information, see "AUTOTITLE."
Alternatively, if you would like to analyze every language in your repository, you can configure advanced setup for {% data variables.product.prodname_code_scanning %}. For more information, see "AUTOTITLE."