Configuring GitHub project binding
Setting up GitHub integration features for your project in SonarQube Cloud.
Once your GitHub organization has been imported to SonarQube Cloud, you can create your SonarQube Cloud project by importing your GitHub repository. The so created SonarQube Cloud project is bound to its GitHub repository.
With a bound project, various analysis reporting features are supported on the DevOps platform. This page explains how to set them up.
Setting up pull request integration
For a bound project, the analysis results summary and issues are reported to your pull requests in GitHub provided:
Your build script is configured to build on pull request creation and push.
If you don't use an integrated CI tool, you must set up the pull request parameters manually, see Analysis parameters for more details.
See Prerequisites for CI-based analysis for more details
Pull request decoration is only supported on a bound project and requires that pull request integration be correctly configured for your project.
Reporting security issues in GitHub (GitHub code scanning alerts)
With the Enterprise plan, the report of the security issues inside the GitHub interface itself as code scanning alerts under the Security tab is supported for bound projects.

This feature is part of the GitHub Advanced Security package and is currently free for public projects. It is available as a paid option for private projects and GitHub Enterprise. This option is entirely on the GitHub side. Sonar does not charge anything extra to enable the code scanning alerts feature.
Related pages
Related online learning
Last updated
Was this helpful?


