// AI news · 2026-11-13 · GitHub Changelog
Manage AI Scan for repos via REST API
GitHub introduces REST API support for enabling or disabling AI Scan at the repository level.
Published 2026-11-13 20:22 (Beijing time)Source GitHub ChangelogAuto-summarised, fact-checked against source
01Summary
The repository_scan setting allows bulk configuration across organizations and repositories. It behaves similarly to pr_scan: if an organization disables AI Scan, its repositories cannot enable it; if enabled, repositories can opt out individually. Requests to enable AI Scan are rejected with 422 error when enterprise policy prohibits it. Manual scans still require user action and consume AI credits. Organization owners and repository admins can manage settings. The feature supports public and private repositories with GitHub Code Security or Advanced Security. GitHub Enterprise Server is not supported.
Summarised from the original article by an open-source model, then checked automatically: every number and English name must appear in the source. The original article is authoritative.
02Key points
- Supports enabling/disabling AI Scan at repository level via REST API
- repository_scan behaves like pr_scan: org-level disable blocks repo enablement
- Scans must be manually triggered and consume AI credits
- 422 error returned if enterprise policy prohibits AI Scan; Enterprise Server unsupported
03Source
Manage AI Scan for repositories using the REST API
GitHub Changelog · published 2026-11-13 20:22 Beijing time
05Related news
From AIMap AI news: collected from 1,100+ official and media sources. Summaries only restate the original article; follow the link for the full story. All stories of 2026-11-13 · Archive by date · All AI news · Today