Skip to main content

This version of GitHub Enterprise Server will be discontinued on 2026-08-25. Discontinued releases are not supported. No patch releases will be made, even for critical security issues. For better performance, improved security, and new features in {% data variables.product.prodname_ghe_server %}, see [AUTOTITLE](/admin/upgrading-your-instance/preparing-to-upgrade/overview-of-the-upgrade-process). For help with the upgrade, {% data variables.contact.enterprise_support %}.

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 Advanced Security 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.