From c9b4177c127d04c74b73aa8ce85dbd5106032caf Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Fri, 28 Aug 2026 15:11:31 +0000 Subject: [PATCH] Document TriggerFilter.paths glob dialect and negation support Co-Authored-By: brandon --- snippets/schema-reference/module/stack.mdx | 11 ++++++++++- snippets/schema-reference/pipeline.mdx | 11 ++++++++++- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/snippets/schema-reference/module/stack.mdx b/snippets/schema-reference/module/stack.mdx index 51f949b..1a5c7dd 100644 --- a/snippets/schema-reference/module/stack.mdx +++ b/snippets/schema-reference/module/stack.mdx @@ -394,7 +394,16 @@ Trigger filter configuration - Only trigger when files in these paths are changed + Only trigger when files in these paths are changed. + Each entry is a glob matched against every changed file path, relative to + the repository root: `*` matches within one path segment, `**` matches + across segments, and `{a,b}` and `[abc]` are supported. Dotfiles are + matched, and a leading `/` is ignored. + Prefix a pattern with `!` to exclude files: a changed file counts only if + it matches at least one non-`!` pattern and no `!` pattern. When every + pattern is a `!` exclusion, all changed files are included first, so + `paths: ["!docs/**"]` means "any change outside docs/". + The trigger fires when at least one changed file counts. _(templateable)_ diff --git a/snippets/schema-reference/pipeline.mdx b/snippets/schema-reference/pipeline.mdx index 84a76a1..9588812 100644 --- a/snippets/schema-reference/pipeline.mdx +++ b/snippets/schema-reference/pipeline.mdx @@ -352,7 +352,16 @@ Trigger filter configuration - Only trigger when files in these paths are changed + Only trigger when files in these paths are changed. + Each entry is a glob matched against every changed file path, relative to + the repository root: `*` matches within one path segment, `**` matches + across segments, and `{a,b}` and `[abc]` are supported. Dotfiles are + matched, and a leading `/` is ignored. + Prefix a pattern with `!` to exclude files: a changed file counts only if + it matches at least one non-`!` pattern and no `!` pattern. When every + pattern is a `!` exclusion, all changed files are included first, so + `paths: ["!docs/**"]` means "any change outside docs/". + The trigger fires when at least one changed file counts. _(templateable)_