The Wayback Machine - https://web.archive.org/web/20230814175958/https://docs.github.com/en/code-security/code-scanning/troubleshooting-code-scanning/enabling-default-setup-takes-too-long
Skip to main content

Enabling default setup takes too long

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

Code scanning is available for all public repositories on GitHub.com. Code scanning is also available for private repositories owned by organizations that use GitHub Enterprise Cloud and have a license for GitHub Advanced Security. For more information, see "About GitHub Advanced Security."

If enabling your default setup 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 GitHub Support or try enabling advanced setup. For more information, see "Configuring advanced setup for code scanning."