Skip to content

GitHub integration

After adding a repository, navigate to your repository's Settings, tab Integrations to enable GitHub integration for comments on pull requests, issue creation, and more.

It installs in just one click but you may need to move back and forth between Codacy and GitHub if it requires additional permissions.

After installing the integration for a repository, it has to be enabled by a user with repository access on GitHub. This user will become the GitHub user that Codacy will use to comment and create issues on GitHub.

GitHub integration

Once the integration is enabled, you will see additional options when browsing the existing issues on the repository:

GitHub integration for issues

When Pull Request Status, Pull Request Comment, or Pull Request Summary is enabled, Codacy will automatically update pull requests on GitHub with additional information when accepting pull requests.

  • Pull Request Status will only be added if the user that added the integration has at least write permissions for that repository.

    The status shows whether your PR and coverage are up to standards or not as per the Pull Request Quality Settings set up for your repository. To see the coverage status, please make sure the Coverage option is enabled in the PR Quality settings.

    Pull request status on GitHub

  • Pull Request Comment makes a comment on the Pull Request line when a new issue is found and shows the pattern raising the issue. Click on the Issue link to go to Codacy to see more details about the issue and how to fix it.

    Pull request comment on GitHub

  • Pull Request Summary shows an overall view of the changes in the PR. Including newly found issues and other metrics such as complexity and duplication.

    Pull request summary on GitHub

Last update: August 24, 2020