Code Quality Setup
PR checks focus on new code — the lines you add or change in a pull request. Aikido scans those changes automatically and leaves inline comments (or fails the gate) so quality issues don't make it into your main branch.
This guide walks you through setting up Code Quality in your PR / MR Checks. To scan existing code across a full repository — category scores, open findings, and hotspots — see Repository Scans.
Prerequisites
Before you begin, ensure you have:
An account connected to GitHub, Bitbucket, GitLab, or Azure DevOps Git
Admin access to your Aikido account
Code Quality isn't available for Local Scanning Accounts or Team Foundation Version Control (TFVC) repositories.
Getting started
There are 3 steps in total to setup and run your first code quality steps. The Aikido UI shows clearly which steps to follow on the Code Quality page (accessible from sidebar). Below is a more extensive description.
Enable Code Quality for repositories
Choose which repositories should have Code Quality checks enabled:
Click Configure Repositories on the Code Quality Page to open the PR checks page. If you haven't configured the CI checks yet, you will be taken through the installation flow.
Select the repositories where you want to run code quality checks and enable the Code Quality functionality (on the bottom) in the modal. You can choose whether you just want to add comments or also fail the gate.

Select quality checks
Configure which code quality rules to enforce on the Code Quality Checks page
Browse through the available checks organized by:
Default checks - Pre-configured best practices for multiple languages
Custom checks - Rules specific to your team (you can add these later)
Toggle checks on/off based on your team’s needs

Run your first scan
Once you’ve configured repositories and checks:
Create a new pull request, or push a new commit to an existing pull request in one of the configured repositories. This will automatically trigger your first Code Quality scan.
Review the results in the Activity tab.
Last updated
Was this helpful?
Was this helpful?