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. +