GitHub has adjusted the behavior of its scheduled code scanning features to ensure weekly automated scans only execute on actively maintained repositories. Under the updated logic, weekly scheduled scans for code scanning default setup and GitHub Code Quality will only start after code analysis is triggered by a push or pull request.
Resolving Inadvertent Scan Triggers
Previously, GitHub determined activity based on any unscheduled scan event. This included the initial validation scan that runs automatically upon enabling default setup, as well as scans initiated by shifts in detected languages. As a result, deploying security configurations across large repository collections often marked dormant projects as active for six months, causing automated weekly scans to run unexpectedly.
Updated Rules for Scheduled Analyses
With this update, initial setup scans still run right away to surface existing findings. However, recurring weekly scans are deferred until push or pull request activity triggers an analysis. GitHub bases this operational status on historical analysis logs rather than Git activity occurring prior to enabling scanning. Activity metrics remain shared between GitHub Code Quality and code scanning.
Enterprise Impact and Availability
The change is designed to make security sweeps more predictable and eliminate redundant background runs when managing security policies across broad organizations. Organizations do not need to make manual configuration updates to apply the new schedule rules.
The operational update is active immediately for GitHub Enterprise Cloud customers and is scheduled to be included in GitHub Enterprise Server version 3.24.
AI-generated editorial illustration; not a documentary photograph.
Source: Scheduled code scanning skips inactive repositories

Leave a Reply