Skip to content
Proud to collaborate with Microsoft for Startups

gitlab.tag ​

Sync GitLab tag lifecycle from Tag Push Hook 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——
tag_namestringNo——
release_uuiduuidNo——
is_deletedbooleanNo——
is_createdbooleanNo——
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_TAG_PROJECT_NOT_FOUNDGitLab project not found
GITLAB_TAG_REF_REQUIREDGitLab tag ref is required

API Usage ​

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

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