Skip to content
TriggerGitLabReal-timeUpdated May 2026

When does GitLab fire on commits?

Short answer: Drop the "GitLabGitLab Push" trigger on your workflow canvas, add filters if you want them, and publish. It fires within seconds of the event in GitLab, not on a polling schedule.

Anatomy

What this trigger looks like in a workflow.

Drop it on the canvas. Configure a couple of fields. Publish.

In the builder
Trigger
GitLab Push
When the matching event happens
new push eventwhen code is pushed to a gitlab repositorywhen push eventon push eventwatch for push event
What this trigger returns
for the curious

You don’t need to read this. Tiny Command auto-maps every field into the visual picker so downstream nodes can pull values by clicking. We show it here for power users who want to know what’s on the wire.

{
"ref": "refs/heads/main",
"user": "johndoe",
"project": "group/my-project",
"commits_count": 1,
"head_commit_message": "Fix authentication middleware"
}
Output shape

Fields available to downstream nodes.

Every field below can be referenced by name in any action or filter that comes after this trigger.

FieldTypeExample
refstring"refs/heads/main"
userstring"johndoe"
projectstring"group/my-project"
commits_countnumber1
head_commit_messagestring"Fix authentication middleware"
FAQ

Questions about GitLab Push.

How does the GitLab Push trigger work in GitLab?
Fires on commit pushes to any branch (or filtered). Payload includes commits with messages and authors. For commit-message-based automation or for custom CI triggers.
Is the GitLab Push trigger real-time?
Yes. GitLab Push uses webhooks or push subscriptions, not polling. Your workflow fires within seconds of the event happening in GitLab.
What data does GitLab Push return?
The full event payload from GitLab. The output shape table on this page lists every field, its type, and an example value so you can map fields into downstream nodes.
Can I filter GitLab Push so only some events start a workflow?
Yes. Add a Filter node right after the trigger and match on any field, whether that's subject, sender, status, or anything else in the payload. Workflows only continue when the filter passes.
Do I need GitLab admin permissions to use GitLab Push?
For most GitLab accounts a standard user can authorize the trigger. Some GitLab plans require an admin to enable third-party webhooks. Check GitLab's docs if the trigger fails to register.
More triggers

Other GitLab triggers.

Build a workflow on this trigger.

One trigger. 10+ downstream actions. Zero glue.