Introduction to GitHub integration

Introduction to GitHub integration with SonarQube Community Build.

SonarQube’s integration with GitHub allows you to maintain code quality and security in your GitHub repositories.

For information about GitHub authentication, see GitHub.

Prerequisites

You can use any GitHub plan. If you use GitHub Enterprise Server, we recommend using GitHub Enterprise version 3.14+.

Key features

With this integration, you’ll be able to:

  • Sign in to SonarQube Community Build with your GitHub credentials.

  • Import your GitHub repositories into SonarQube to easily set up SonarQube projects.

  • Analyze projects with GitHub Actions: Integrate analysis into your build pipeline.

SonarQube Community Build doesn’t support various features such as the analysis of multiple branches and pull requests. See Feature comparison table to know which GitHub integration features are supported by the other SonarQube deployments.

SonarQube Community Build uses a GitHub App to access GitHub resources. The app defines the global access permissions of SonarQube Community Build. Access to your GitHub instance is required when:

  • A project administrator imports a GitHub repository to create the respective project in SonarQube Community Build. SonarQube Community Build then accesses and uses the project administrator's GitHub repository permissions.

  • SonarQube Community Build authenticates users through GitHub.

In SonarQube Community Build, a "GitHub Configuration" record stores the credentials used to log in to the GitHub App for SonarQube. A different Configuration record is used to manage the analysis integration and the user authentication.

Last updated

Was this helpful?