A script successfully enables AI Scan across a set of repositories. The rollout report turns green. How much code has the rollout analyzed? Possibly none: GitHub’s November 13, 2026 API announcement explicitly says enabling AI Scan for repositories does not start a scan.
AI disclosure: This article was generated with AI assistance from public sources. The rollout report and maintenance exercise below are proposed examples, not reported implementations or security findings from Keith’s projects.
The public preview adds a repository_scan setting to GitHub’s organization and repository AI Scan endpoints. That is useful configuration automation. The operational work begins when a team decides who will run the enabled feature, review its output, and act on what it finds.
Give enablement its own column
GitHub’s REST API reference describes responses containing pr_scan and repository_scan settings. Reading back an enabled value establishes configuration state.…