Skip to content

GitHub agentic autofix for code scanning alerts reaches GA

Copilot can now explore a repository, patch a CodeQL alert, verify the fix, and open a draft pull request, for up to 25 alerts at once.

GitHub moved agentic autofix for code scanning alerts from public preview to general availability on 15 October. Assign Copilot to an alert and it explores the relevant files, writes a fix, reruns CodeQL to confirm the alert clears, iterates if it doesn’t, and opens a draft pull request for review.

It only works on alerts found on a repository’s default branch, not on pull requests or other branches, and it caps out at 25 alerts per run. It’s available to GitHub Code Security and GitHub Advanced Security customers on GitHub Enterprise Cloud, including data residency deployments. Each run draws on your Code Security AI Credits budget as well as GitHub Actions minutes, both tracked under Advanced Security in enterprise billing.

Why it matters: this turns a security backlog from a list someone has to triage into pull requests someone just has to review. For a team sitting on hundreds of stale CodeQL alerts, that’s the difference between the backlog shrinking and it never getting touched. The 25-alert cap and default-branch-only scope mean it won’t clear everything in one pass, and the AI Credits cost is worth checking against your budget before pointing it at a large repository.

Share

Related reading

More from The Wire

All briefs

GitHub Copilot retires six AI models today

Gemini 3.7 Flash, GPT-5.5, GPT-5.4, GPT-5.4 mini, GPT-5 mini and Grok 4.5 stop working across Copilot Chat, inline edits, agent mode and completions from today.

via GitHub