apicheats.dev Cheat sheet Raw .md
PATCH

Try PATCH /repos/{owner}/{repo}/code-quality/setup — GitHub API

GitHub playground

Update a code quality setup configuration

Credentials

Kept in this tab only. Requests go through apicheats.dev's same-origin proxy straight to api.github.com; the proxy stores and logs nothing about them.

Headers

Path

Body application/json

5 body fields
  • state · required · string — The desired state of code quality setup.
  • runner_type · optional · string — Runner type to be used.
  • runner_label · optional · string — Runner label to be used if the runner type is labeled.
  • languages · optional · string[] — Languages to be analyzed.
  • ai_findings_option · optional · string — Whether AI findings run for Code Quality on this repository.