GitHub Integration

After adding a project, to enable GitHub integration to comment on commits, create issues and more, navigate to your project's Settings>Integrations tab.

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 it for a project, it has to be enabled by a user with project access on GitHub. For private projects, this user will by default become the GitHub user that Codacy will use to comment and create issues on GitHub. For public projects, comments made by Codacy will appear as coming from codacy-bot.

 

Aug-10-2017_17-47-06.gif
Enabling GitHub integration

 

 

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

 

GitHub integration

 

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

 

Screen_Shot_2017-11-15_at_17.50.49.png
Additional options

 

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

 
image.pngPull request status
 

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.

 
Screen_Shot_2017-11-15_at_18.23.26.png
Pull request comment
 
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. 
 
Screen_Shot_2017-11-15_at_18.12.58.png
Pull request summary
 
Have more questions? Submit a request

0 Comments

Article is closed for comments.