description:'Starts the workflow when a Gitlab events occurs.',
defaults:{
name:'Gitlab Trigger',
color:'#FC6D27',
},
inputs:[],
outputs:['main'],
credentials:[
{
name:'gitlabApi',
required: true,
}
],
webhooks:[
{
name:'default',
httpMethod:'POST',
responseMode:'onReceived',
path:'webhook',
},
],
properties:[
{
displayName:'Repository Owner',
name:'owner',
type:'string',
default:'',
required: true,
placeholder:'n8n-io',
description:'Owner of the repsitory.',
},
{
displayName:'Repository Name',
name:'repository',
type:'string',
default:'',
required: true,
placeholder:'n8n',
description:'The name of the repsitory.',
},
{
displayName:'Events',
name:'events',
type:'multiOptions',
options:[
{
name:'*',
value:'*',
description:'Any time any event is triggered (Wildcard Event).',
},
{
name:'Comment',
value:'note',
description:'Triggered when a new comment is made on commits, merge requests, issues, and code snippets.'
},
{
name:'Issue',
value:'issues',
description:'Triggered when a new issue is created or an existing issue was updated/closed/reopened.'
},
{
name:'Job',
value:'job',
description:'Triggered on status change of a job.'
},
{
name:'Merge Request',
value:'merge_requests',
description:'Triggered when a new merge request is created, an existing merge request was updated/merged/closed or a commit is added in the source branch.'
},
{
name:'Pipeline',
value:'pipeline',
description:'Triggered on status change of Pipeline.'
},
{
name:'Push',
value:'push',
description:'Triggered when you push to the repository except when pushing tags.'
},
{
name:'Tag',
value:'tag_push',
description:'Triggered when you create (or delete) tags to the repository.'
},
{
name:'Wiki Page',
value:'wiki_page',
description:'Triggered when a wiki page is created, updated or deleted.'