Skip to content

Why did Codacy stop commenting on pull requests?#

Outdated app permissions#

This section applies to Codacy Coverage on GitHub

Coverage information is currently sent to GitHub by a new version of the Codacy Coverage engine, which depends on updated app permissions.

If you stopped receiving coverage summaries on your pull requests, please review and accept the updated Codacy app permissions on GitHub. For more information on the rollout of the new Coverage engine, see the relevant release note.

Outdated permissions or invalid SSH key#

This section applies to GitLab and Bitbucket

Different reasons can cause Codacy to stop analyzing and commenting on pull requests, but the most common is that the user who initially enabled the GitLab or Bitbucket integration no longer has permissions on the repository or that the SSH key is no longer valid.

To fix this issue and avoid future disruptions, re-enable the GitLab or Bitbucket integration on Codacy using a dedicated service account on your Git provider:

  1. Create a service account on your Git provider exclusively dedicated to integrating Codacy with your repositories.

    Note

    The service account must:

    • Have administrator permissions on the repositories to integrate with Codacy
    • Not be shared by other systems to ensure that Codacy doesn't hit the API rate limits of the Git provider when using this account

    Tip

    Using a dedicated service account also has the advantage of any pull request comments made by Codacy appearing as authored by the service account instead of by a regular organization member. You can name this account "Codacy" and use this Codacy logo as the account picture so that your pull request comments look like the following example:

    Codacy comment on a GitLab merge request

  2. Log out of both your Git provider and of Codacy.

  3. Log in to Codacy using the new service account.

  4. Open your repository Settings, tab Integrations, and click the trash can icon to remove the existing Git provider integration:

    Removing the old Git provider integration

  5. Re-enable the integration by following the instructions for your Git provider:

    Tip

    Configure the default Git provider integration settings that Codacy applies to new repositories to help ensure that all new repositories have the same settings.

See also#

Share your feedback 📢

Did this page help you?

Thanks for the feedback! Is there anything else you'd like to tell us about this page?

We're sorry to hear that. Please let us know what we can improve:

Alternatively, you can create a more detailed issue on our GitHub repository.

Thanks for helping improve the Codacy documentation.

Edit this page on GitHub if you notice something wrong or missing.

If you have a question or need help please contact support@codacy.com.

Last modified December 19, 2023