From 33b8c51a6716ea22b34f45353a889ec401f2d0f0 Mon Sep 17 00:00:00 2001 From: Gabe Torres <69164745+gabtorre@users.noreply.github.com> Date: Mon, 2 Jun 2025 15:46:29 -0700 Subject: [PATCH] Add pattern exclude type to Gitlab Document that exclude accepts a pattern property to exclude by regex pattern --- docs/admin/code_hosts/gitlab.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/code_hosts/gitlab.mdx b/docs/admin/code_hosts/gitlab.mdx index 1d09a130d..05874ff48 100644 --- a/docs/admin/code_hosts/gitlab.mdx +++ b/docs/admin/code_hosts/gitlab.mdx @@ -201,7 +201,7 @@ See [Internal rate limits](/admin/code_hosts/rate_limits#internal-rate-limits). // When set to true, this external service will be chosen as our 'Global' GitLab service. Only valid on Sourcegraph.com. Only one service can have this flag set. "cloudGlobal": false, - // A list of projects to never mirror from this GitLab instance. Takes precedence over "projects" and "projectQuery" configuration. Supports excluding by name ({"name": "group/name"}) or by ID ({"id": 42}). + // A list of projects to never mirror from this GitLab instance. Takes precedence over \"projects\" and \"projectQuery\" configuration. You can exclude projects by: name ({"name": "group/name"}), ID ({"id": 42}), regular expression matching pattern ({"pattern": "^group/project-.*"}), or by excluding empty repositories ({"emptyRepos": true}). "exclude": null, // Other example values: // - [