Cannot trigger security review agent on gitlab self hosted MRs. Added all git triggers like opened, created, updated, comment added - security review not triggered.
Use the same configuration, add github repo - everything working.
Steps to Reproduce
Connect gitlab self hosted repo.
Create security reviewer agent configuration - trigger on pr opened, pushed, comment added.
Create pr in gitlab repo, comment on mr in gitlab repo.
Nothing happens
Hey @kamlim1k, thanks for the detailed report, and for confirming the same setup works on GitHub.
Your configuration is correct and the triggers are firing. The runs are stopping right after they start because your GitLab project sits under a nested group (a path with three parts, like group/subgroup/project), and the Security Reviewer currently only handles two-part paths. That is why nothing appears and why the GitHub repo works fine. I have flagged this to the team with your report attached.
Two things that can help in the meantime.
Enabling Bugbot on that same GitLab repo will give you automated review on your merge requests, since it does not go through the path that is failing.
If you have a project sitting directly under a top-level group (a two-part path), pointing the Security Reviewer at that one will also run normally.
Quick update: the Security Reviewer not starting on your GitLab project under a nested group has been addressed on our side and is rolling out now, if it hasn’t already. No changes needed on your end, your triggers were already firing correctly.
Could you open or update a merge request on that project and let me know if the review kicks in?