Skip to main content

此版本的 GitHub Enterprise Server 将于以下日期停止服务 2026-03-17. 即使针对重大安全问题,也不会发布补丁。 为了获得更好的性能、更高的安全性和新功能,请升级到最新版本的 GitHub Enterprise。 如需升级帮助,请联系 GitHub Enterprise 支持

Enabling default setup takes too long

If you think that enabling default setup has stalled, you can restart the process.

When you enable default setup, a workflow is triggered with the automatically generated configuration. This run is used to test whether default setup works for all CodeQL-supported languages in the repository.

You can check on the progress of the test run for default setup on the Actions tab. If the run is taking too long, try canceling the workflow run and restarting the configuration process.

To restart your configuration, navigate to the main page of your repository, then click Actions. Click the CodeQL workflow run that's in progress, then click Cancel workflow. Once appears beside the workflow run name, navigate back to the Code security and analysis settings and re-enable default setup. If default setup continues to stall, please contact your site administrator or try enabling advanced setup. For more information, see Configuring advanced setup for code scanning.