You can log into Codiga using your GitLab credentials. Your account is then automatically linked with GitLab and you can easily add GitLab repositories in your Codiga projects.
- Import GitLab repositories
- Code Reviews on Merge Requests
- Automated Code Fix (silver and gold accounts)
In order to have code reviews and analyses on push, you need to make sure webhooks are activated.
Codiga installs a webhook when you import a GitLab project. However, you may have deleted it yourself and/or removed it in the past.
Make sure the webhook is activated. You can activate the webhook in your project preferences on Codiga.
Once you create the webhook from Codiga, you should see a webhook appearing in your GitLab preferences too, as shown below.
If the webhook is not created, it is because the user attempting to create the webhook does not have enough permission to create a webhook. In that case, you will need to upgrade this user permission or use another account to manage this project on Codiga.
Codiga will do automated code reviews on merge requests. For each new commit, the platform will annotate the code with violations it found, as shown below.
The Code Review will be done with the account that created the repository. You may want to use a service account (e.g. an account that does not belong to a developer) to do the code review to distinguish comments from the automated code review from the one from developers.
In that case, creates the project with the service account. You can also contact us to change the owner of the project and associate it with the service account. To do so, make sure the service account is registered on Codiga and send us the project and the name of the service account, we can change the owner of the project.