Automate GitLab
Follow merge requests, pipelines and reviews in GitLab without refreshing the project page. Failed pipelines on main, review requests and merged MRs reach you directly, merge requests can be checked against your own rules, and config backups are committed to a repo every night. Write down what you need in a chat with your AI assistant, look over what it plans to do, and it carries on unattended.
Try asking
Create a ClickRuntime automation: every night at 3am, export my configurations from this API, commit any files that changed to the backups repo in GitLab, and email me a short summary.
Paste it into your assistant. It tells you what it will send or change before it runs live.
Ideas
What you can automate in GitLab
Commit nightly config backups to GitLab
Exports from your tools are saved to a repo each night, with a commit only when something changed.
See how it worksBlock merge requests that break a rule
When a merge request changes, it is checked against your rule and gets a failing commit status if it breaks it.
See how it worksGet an email for each review request
Whenever you are added as reviewer on a merge request, you get its title and link by email.
See how it worksAnnounce opened and merged MRs in Slack
Your channel hears when a merge request in your project is opened or merged.
See how it worksKnow right away when main fails
A failed pipeline on main reaches you with the jobs that broke and a link to it.
See how it works Your own logicAny other automation you can describe in words
Your own rules, schedule and AI steps with GitLab, plus any other app. Describe it and your assistant builds it.
See how to build your ownBuild your own
Build any GitLab automation you can describe
Your own rules
Conditions, thresholds, filters and exceptions, written the way you'd explain them to a colleague.
Any number of apps
One automation can read from one app and update several others. Over 248 apps are ready, and anything with an API works too.
AI where it helps
Summaries, classification, extraction and drafts use ClickRuntime's built-in AI, with no extra key.
On a schedule or on each event
Runs as often as every 5 minutes, or the moment an app sends an event, and keeps track of what it already handled.
For example, ask your assistant
Every morning, find GitLab merge requests open for more than 3 days with no reviewer comments and send the list to their authors.
When a GitLab pipeline fails on the main branch, post the project, commit author and failed job to Slack.
When a GitLab issue gets the bug label, create a Jira ticket, post it in our #bugs Slack channel, and add a row to our bug tracking Google Sheet.
Beyond chat
Have GitLab work when you're not in the chat
Instant
Block merge requests that break a ruleThe moment it happens
On a schedule
Commit nightly config backups to GitLabDaily
Watches for changes
Get an email for each review requestEvery 5 minutes
Setup
Connect GitLab
GitLab connects with a personal access token you generate in your profile. It works on GitLab.com and on self-managed instances.
GitLab
Developer / Source control & CI
- In GitLab, open your avatar menu, go to Edit profile, then Access and Personal access tokens.
- Name the token, set an expiry date, and choose
read_apifor alerts orapiif the automation needs to commit files or set commit statuses. - Generate the token and copy it straight away, since GitLab only shows it once.
- In the ClickRuntime dashboard, save it as a secret under Connections & secrets. For a self-managed instance, also give your host's address.
Good to know
GitLab limits that affect automations
- Personal access tokens last at most 365 days and stop working at midnight UTC on their expiry date. An expired token can't be revived, so create a new one and update the secret.
- GitLab emails you ahead of a token's expiry, which is the cue to replace it before automations start failing.
- Instant merge request and pipeline alerts need a project webhook, which only a Maintainer can add. Without that role, polling every few minutes does the same job.
- Project and group access tokens are narrower than a personal one, but on GitLab.com they can require a paid tier.
FAQ
Questions about automating GitLab
What does ClickRuntime get access to in GitLab?
Does it work with self-managed GitLab?
Are pipeline and merge request alerts real time?
What happens when my token expires?
Is AI involved?
Is this a GitLab connector for ChatGPT or Claude?
Related pages
Keep exploring