GitHub Code Quality: Repository Enablement API

Published: (May 26, 2026 at 04:35 PM EDT)
1 min read

Source: GitHub Changelog

Repository Enablement API

You can now programmatically enable and configure GitHub Code Quality on individual repositories using the new Repository Enablement API, available today in public preview.

Endpoints

  • PATCH /repos/{owner}/{repo}/code-quality/setup – Enable or disable Code Quality default setup for a repository, configure the languages to analyze, and specify the runner type.
  • GET /repos/{owner}/{repo}/code-quality/setup – Retrieve the current Code Quality configuration for a repository, including state, languages, runner type, and analysis schedule.

Supported languages: csharp, go, java-kotlin, javascript-typescript, python, ruby.

This feature is available in public preview on github.com and is not available on Enterprise Server.

To learn more about GitHub Code Quality, see the documentation for code quality.

0 views
Back to Blog

Related posts

Read more »

GitHub Finish-up-a-Thon Challenge.

Overview I built an advanced Click Speed Tester that evolved from a basic CPS counter into a complete performance‑tracking tool. The final version includes rea...

SiteRows example #1:

Quick reminder Allows you to scrape web content with SQL, like you would query a database. Creating a FREE account unlocks automation features and higher usage...