GitLab integration
Webhook settings, labels and /agent commands, replies as notes, and merge request reviews for gitlab.com and self-managed GitLab.
Webhook
Project Settings → Webhooks: the URL, the secret as Secret token, and the triggers Issues events, Comments
and — for reviews — Merge request events. The X-Gitlab-Token header must match the secret.
Behaviour
- Issues and
/agentcomments work as on GitHub (label defaultagent). - Replies are notes, posted with a token (sent as
PRIVATE-TOKEN) from the named organization secret. - Merge requests become review tasks when reviews are on; the result is one note with the verdict, summary and comments. Drafts are skipped; each head commit is reviewed once.
- For self-managed GitLab, set the API base URL, for example
https://gitlab.example.com.
For merge requests opened from tasks, see Pull requests.