GitHub + GitLab Integrations
Developer Tools
Build GitHub and GitLab automations with your AI agent. Run them on Zapier.
- apps to connect
- 10,000+
- ways to start a workflow
- 31
- available app actions
- 34
- Dependable AI workflows
- Full audit trails and controls
- Easy visual workflow manager
- Free tier available
- SOC 2 Type II, SOC 3, GDPR, and CCPA compliant
Top teams trust Zapier to automate work
Connect GitHub and GitLab to your AI agent with Zapier MCP
Install Zapier once, then tell your agent what you want done. Behind the scenes, Zapier MCP finds the right triggers and actions to use with GitHub and GitLab and runs them—all with your credentials managed by Zapier and kept out of the model.
Install Zapier MCP in this AI tool and help me sign in to Zapier or sign up. Then connect my GitHub and GitLab accounts and help me build a Zap with GitHub and GitLab: ask me what I want to automate. Start by reading https://zapier.com/AGENTS.md.
Paste this prompt into Claude, ChatGPT, Cursor, or your preferred AI agent to build GitHub and GitLab automations.
https://mcp.zapier.com/api/v1/connect
Install this server in Claude, ChatGPT, Cursor, VS Code, or any MCP client. You sign in once with OAuth.
npm install @zapier/zapier-sdk npm install -D @zapier/zapier-sdk-cli npx zapier-sdk login
Call any app action from TypeScript. Zapier handles OAuth, token refresh, retries, and rate limits.
npx @zapier/install-zapier
Run this command to print setup instructions for your client, then follow the prompts to sign in.
Ask your AI agent to do it
Tell Claude, ChatGPT, or your go-to AI agent to install Zapier MCP, and it’ll get you started with Zapier.
Wire it into your own code
Connect your agent to GitHub, GitLab, and 10,000+ more apps with the TypeScript SDK. Zapier handles OAuth and token refresh.
Set it up from your terminal
Tell your coding agent to run one command. It installs Zapier MCP so your agent can use GitHub, GitLab, and other apps.
GitHub and GitLab triggers and actions
With Zapier MCP installed, your AI agent can build automations across 10,000+ apps and 90,000+ triggers and actions. Automations run reliably on Zapier from an app event, on a schedule (cron), or from a webhook. Here are the GitHub and GitLab triggers and actions you can build with right away.
New Branch
Triggers when a new branch is created.
New Collaborator
Triggers when you add a new collaborator.
New Commit Comment
Triggers when a new comment on a commit is created.
New Commit
Triggers when a new commit is created.
New Repo Event
Triggers when anything happens on a repo.
New Gist
Triggers when you add/star a gist (public or private).
New Global Event
Triggers when anything happens from or to you, on any repo.
Issue Closed
Triggers when an issue is closed.
Frequently asked questions about automating with GitHub and GitLab
How can I integrate GitHub with GitLab?
To integrate GitHub with GitLab, you need to set up a connection using our platform that allows you to trigger actions in one tool based on events in the other. This may involve creating a webhook in GitHub and linking it to your GitLab repository to automate workflows.
What kinds of triggers are available when connecting GitHub and GitLab?
When connecting GitHub and GitLab, common triggers include push events, pull requests, new issues, or comments made within your repositories. These triggers can be set to initiate specific actions such as updating a corresponding issue or merge request in the other platform.
Is it possible to automate issue tracking between GitHub and GitLab?
Yes, by setting up automated workflows, you can track issues between GitHub and GitLab. For instance, opening an issue in Github can be set to automatically create an equivalent issue in a linked GitLab project for synchronized project management.
Can pull requests and merge requests be synced between the two platforms?
Certainly! Our tools allow pull requests from a Github repository to automatically generate equivalent merge requests on a connected GitLab repository. This synchronization helps maintain workflow continuity across both platforms.
How do we handle security permissions when linking accounts between Github and Gitlab?
When integrating Github with Gitlab, we handle security permissions through OAuth authentication protocols which ensure that only authorized users can grant access between the repositories. Personal access tokens may also be used for secure connections when necessary.
Are there limitations on automated actions we can take using this integration?
While most common actions like syncing issues and repositories are supported, there might be API rate limits or permission settings that could restrict some automation capabilities temporarily depending on either platform’s policies or settings configured by your organization’s administrator.
How do changes get tracked when using integrated workflows?
Changes made through integrations are tracked via logs which document each event's timestamp and details. You’ll see what actions were triggered from your setup alongside any error messages if something didn’t execute as planned. This ensures transparency across your activities.
My AI agent already connects to my apps. Why add Zapier?
Your AI agent’s built-in or native connectors cover a limited set of popular apps. Zapier reaches 10,000+ apps and 90,000+ triggers and actions. Zapier also adds what your AI agent can’t: one place to manage logins and credentials, so you never paste an API key; automations that keep running after the chat closes, with fixes you can review when a run hits a snag; and the freedom to switch agent interfaces without starting over.
Can’t my AI agent already run tasks on a schedule?
Most popular AI agents can run scheduled tasks. And for simple recurring jobs, that might be all you need. Automations that run on Zapier can run on a schedule too, but they can also start the moment something happens in your apps—like when a new lead/ticket comes in or you get an email reply. Zapier also uses AI only in the steps that need judgment, so routine steps like posting to Slack or updating Salesforce don’t burn model tokens.
Why not have my AI agent write me a script?
You can, and the first version will probably work. The trouble comes later: a script needs somewhere to run, a way to hear about events, and someone to keep it going. If an API changes or a login expires, your script can quietly stop until you notice. It also holds your keys, often in a repo, where a leak can expose your accounts. With Zapier, your agent builds the automation, and you publish it. Zapier hosts it, handles your logins and credentials, and records every run. If a run fails, Zapier diagnoses what went wrong and prepares a fix you can review. Or you can decide which fixes Zapier can apply for you.
Point your AI agent to this page’s markdown file to build GitHub and GitLab automations. It covers how each app connects, every trigger and action with its inputs, and how to run them with Zapier MCP, the SDK, or the CLI.
About GitHub
GitHub is the perfect place to share code and work collaboratively on private and open source software.
Related categories: Developer Tools
About GitLab
GitLab is an open source code collaboration tool with a rich feature set including management of repositories, reviewing tools, issue tracking, activity feeds and much more.
Related categories: Developer Tools

