Skip to main content
The Gitlab plugin handles incoming webhooks. Point your provider’s subscription URL at your Corsair HTTP handler (see Overview for setup context and the exact URL shape).
New to Corsair? See webhooks and hooks.

Webhook map

  • issue (issue)
  • mergeRequest (mergeRequest)
  • note (note)
  • pipeline (pipeline)
  • push (push)

HTTP handler setup

app/api/webhook/route.ts

Events

Issue

Issue

issue An issue event from GitLab (open, update, close) Payload
webhookHooks example

Merge Request

Merge Request

mergeRequest A merge request event from GitLab (open, update, merge, close) Payload
webhookHooks example

Note

Note

note A comment event from GitLab (new comments on issues, MRs, commits) Payload
webhookHooks example

Pipeline

Pipeline

pipeline A pipeline event from GitLab (status change) Payload
webhookHooks example

Push

Push

push A push event from GitLab (git push to repository) Payload
webhookHooks example