Skip to main content

Эта версия GitHub Enterprise Server будет прекращена 2024-06-29. Исправления выпускаться не будут даже при критических проблемах безопасности. Для повышения производительности, повышения безопасности и новых функций выполните обновление до последней версии GitHub Enterprise Server. Чтобы получить справку по обновлению, обратитесь в службу поддержки GitHub Enterprise.

Конкретный язык приводит к сбою установки по умолчанию

При включении настройки по умолчанию все языки, выбранные для анализа, должны быть успешно проанализированы, или конфигурация установки по умолчанию завершится ошибкой.

To enable default setup when a language previously failed, you must reconfigure default setup, deselecting all failing languages for analysis.

  1. If default setup fails, navigate to the main page of your repository, then click Settings.

  2. In the "Security" section of the sidebar, click Code security and analysis.

  3. Navigate to the "Code scanning" section. Then, in the error message reading "CodeQL default configuration failed", click failed.

  4. 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 Analyze (LANGUAGE).

  5. 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 "Configuring default setup for code scanning."

    Alternatively, if you would like to analyze every language in your repository, you can configure advanced setup for code scanning. For more information, see "Configuring advanced setup for code scanning."