Working with repository associations in Amazon CodeGuru Reviewer - Amazon CodeGuru Reviewer

Working with repository associations in Amazon CodeGuru Reviewer

Amazon CodeGuru Reviewer requires a repository that contains the source code you want it to review. To add a repository with your source code to CodeGuru Reviewer, you create a repository association.

Immediately after you create the repository association, its status is Associating. A repository association with this status is doing the following.

  • Setting up pull request notifications. This is required for pull requests to initiate a CodeGuru Reviewer review. For GitHub, GitHub Enterprise Server, and Bitbucket repositories, the notifications are webhooks created in your repository to initiate CodeGuru Reviewer reviews. If you delete these webhooks, reviews of code in your repository cannot be initiated.

  • Setting up source code access. This is required for CodeGuru Reviewer to securely clone the code in your repository.

When the pull request notifications, source code access, and creation of required permissions are complete, the status changes to Associated. The association is now complete and CodeGuru Reviewer performs its first full scan of the repository. You can later create incremental code reviews or full repository analysis code reviews to get recommendations. For more information, see About full repository analysis and incremental code reviews.

CodeGuru Reviewer supports associations with repositories from the following source providers:

  • AWS CodeCommit

  • Bitbucket

  • GitHub and GitHub Enterprise Cloud (These are listed together because you work with them identically using CodeGuru Reviewer.)

  • GitHub Enterprise Server

Note

The source code reviewed by CodeGuru Reviewer is not stored. For more information, see Captured data in CodeGuru Reviewer.