Release

June 9, 20261 Minute Read

Periodic code scanning of inactive repositories

GitHub code scanning now supports scheduled security scans of repositories that have had no pushes or pull requests for six months or more. Organizations can use this to maintain continuous security coverage across all their repositories, including codebases that are no longer under active development. This setting only applies to repositories that use code scanning default setup.

When enabled, inactive repositories are automatically scanned every 30 days. This setting applies to all repositories in the organization. You can turn this on from Settings > Advanced Security > Global Settings by enabling Keep scheduled scans running every 30 days for inactive repositories.

To learn more, see configuring global security settings for your organization.

Subscribe to our developer newsletter

Discover tips, technical guides, and best practices in our biweekly newsletter just for devs.

By submitting, I agree to let GitHub and its affiliates use my information for personalized communications, targeted advertising, and campaign effectiveness. See the GitHub Privacy Statement for more details.

Periodic code scanning of inactive repositories - GitHub Changelog