Does enabling AI Scan start a repository scan?
No. The API changes whether repository scans are enabled by policy. A user with write access must still start a scan, and each scan consumes GitHub Code Security AI credits.
Answered in
GitHub Adds API Controls for AI Scan—but Enabling It Does Not Run a ScanNew public-preview REST settings let teams govern AI Scan coverage across repositories. Policy inheritance, 422 errors and credits still shape rollout.
Read the full analysisOther questions this article answers
More engineering questions
Every answer on Crashtech is written by the editor of the article it comes from — never auto-summarised. Browse all answers or the Engineering beat.