If your PR integration is failing, one of the reasons could be that the account owner token in GitLab stopped being valid.
Some of the reasons for that could be:
- The user removes the OAuth app,
- GitLab invalidating tokens for any reason,
- Token expiring.
To check if the token is invalid, navigate to the scheduled analysis configuration page. One more sign would be if the Delta Analyses don't work. The account owner would then receive an email containing the message: ACTION REQUIRED: missing Gitlab token blocking CodeScene PR Integration.
The solution for this issue is that the account owner log in to codescene.io and visit https://codescene.io/users/me/token. This link is also provided in the ACTION REQUIRED email.