Configuring pull request decoration for SonarQube Server with GitHub Actions

Time to complete icon30 minutes to complete

Overview

This course teaches you how to integrate SonarQube Server's pull request decoration and merge blocking features into your GitHub Actions pull requests to improve code quality and security. By configuring this integration, you'll make code reviews more efficient and ensure a more secure codebase.

Learning objectives

After completing this course, you’ll be able to:

  • Configure the GitHub Actions pull request decoration feature with SonarQube.
  • Configure a branch protection rule to prevent a merge when a quality gate fails.

Key topics

  • Enhancing code reviews with PR decoration
  • Configuring GitHub for pull request decoration and merge prevention
  • Configuring SonarQube for pull request decoration
  • Testing pull request decoration
  • Preventing a pull request from merging when a quality gate fails

Target audience

  • DevOps engineer
  • Developer
  • Engineering leader
  • Analyst

Prerequisites

  • Configuring code analysis for SonarQube Server withGitHub Actions