Code scanning runs every enabled repository on one instance-wide cron, [security] schedule. Repositories cannot scan less often, and config load only counts the cron's fields, so a five-field expression ParseCron rejects loads and NextRun falls back to 24 hours.
[security]takesmost_oftenandleast_often(daily, weekly, monthly),defaultbetween them, andhour(UTC) in place ofschedule. Weekly is Sunday, monthly the 1st. A config namingscheduleis refused at load.repo settings security-frequency <owner/name> daily|weekly|monthly, within the instance's range; recomputes the next scan when scanning is on.- A stored choice outside a later, narrower range scans at the nearest allowed frequency.
repo security statusreports the frequency; the settings page has a dropdown.
closed by cmc in commit eb2ad4cd3e: Code scanning frequency per repository, within an instance range
2026-11-05 10:35 UTC