From 8269b8f6f3bb31c18de3faeca351cb1fed025d77 Mon Sep 17 00:00:00 2001
From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com>
Date: Thu, 18 Jun 2026 23:50:16 +0000
Subject: [PATCH] fix: resolve broken automation snippet import and CLI anchor
---
automations/manage.mdx | 2 +-
snippets/gitlab-automation-setup.mdx | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
create mode 100644 snippets/gitlab-automation-setup.mdx
diff --git a/automations/manage.mdx b/automations/manage.mdx
index f468291b8e..fa4703fe5c 100644
--- a/automations/manage.mdx
+++ b/automations/manage.mdx
@@ -13,7 +13,7 @@ import GitlabAutomationSetup from '/snippets/gitlab-automation-setup.mdx';
- For GitLab: a connected GitLab account (see [GitLab setup](#gitlab-setup) below)
- You can also create, list, and delete automations from the terminal with [`mint automation`](/cli/commands#mint-automation). The CLI is useful for scripting and CI; the dashboard is the easiest way to configure and monitor automation runs.
+ You can also create, list, and delete automations from the terminal with [`mint automation`](/cli/commands#mint-workflow). The CLI is useful for scripting and CI; the dashboard is the easiest way to configure and monitor automation runs.
## Enable an automation
diff --git a/snippets/gitlab-automation-setup.mdx b/snippets/gitlab-automation-setup.mdx
new file mode 100644
index 0000000000..b8897b431b
--- /dev/null
+++ b/snippets/gitlab-automation-setup.mdx
@@ -0,0 +1,7 @@
+## GitLab setup
+
+To use GitLab repositories in an automation, connect each project through the [GitLab OAuth](https://app.mintlify.com/settings/organization/gitlab-oauth) settings page. Connect every repository the automation touches—your documentation repository and any trigger or context repositories. You must have at least the Maintainer role on each project.
+
+
+ Automations require a paid GitLab tier. The agent uses short-lived project access tokens for repository access, which GitLab's Free plan does not support.
+