Skip to content
Proud to collaborate with Microsoft for Startups

gitlab.release ​

Sync GitLab release metadata from webhook payload

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-gitlab
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes——
event_typestringYes——
actionstringNo——
payloaddictYes——
organization_uuiduuidNo——

Output Schema ​

FieldTypeRequiredDefaultDescription
delivery_refstringYes——
project_uuiduuidYes——
organization_uuiduuidNo——
gitlab_project_refstringNo——
gitlab_release_refstringNo——
tag_namestringNo——
release_uuiduuidNo——
action_performedstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——
failed_stepstringNo——
failed_layerstringNo——
errorstringNo——
error_typestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
pendingYesNo—execute—
executingNoNo—complete—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
pendingexecuteexecuting—
executingcompletecompleted—
* (any state)failfailed—

Business Errors ​

CodeMessage Template
GITLAB_RELEASE_PROJECT_NOT_FOUNDGitLab project not found
GITLAB_RELEASE_TAG_REQUIREDGitLab release tag name is required

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "gitlab.release",
  "initial_data": {
    "delivery_ref": "value",
    "event_type": "value",
    "payload": "value"
  }
}