Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion snippets/schema-reference/module/stack.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,16 @@ Trigger filter configuration
</ResponseField>

<ResponseField name="paths" type="string[] | null">
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)_
</ResponseField>
Expand Down
11 changes: 10 additions & 1 deletion snippets/schema-reference/pipeline.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,16 @@ Trigger filter configuration
</ResponseField>

<ResponseField name="paths" type="string[] | null">
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)_
</ResponseField>
Expand Down
Loading