Skip to content

Commit f38c515

Browse files
docs(site): fix FileGlobMatch — gate.js globMatch not python3 fnmatch (#837)
1 parent 18c5f77 commit f38c515

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

site/src/content/docs/reference/filter-ir.mdx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ supports these predicate types:
121121
| `NumericRange { fact, min, max }` | `[ "$VAR" -ge N ] && [ "$VAR" -le M ]` | Changed file count in range |
122122
| `TimeWindow { start, end }` | Arithmetic on `CURRENT_MINUTES` | Only during business hours |
123123
| `LabelSetMatch { any_of, all_of, none_of }` | `grep -qiF` per label | PR labels match criteria |
124-
| `FileGlobMatch { include, exclude }` | python3 `fnmatch` | Changed files match globs |
124+
| `FileGlobMatch { include, exclude }` | gate.js `globMatch` | Changed files match globs |
125125
| `And(Vec<Predicate>)` | All must pass | *(reserved for compound filters)* |
126126
| `Or(Vec<Predicate>)` | At least one must pass | *(reserved)* |
127127
| `Not(Box<Predicate>)` | Inner must fail | *(reserved)* |
@@ -306,7 +306,8 @@ acquisition logic.
306306

307307
The evaluator is a TypeScript program ncc-bundled to a single
308308
self-contained `scripts/ado-script/gate.js` (~1.1 MB) that ships as part of the
309-
`ado-script.zip` release asset. It handles:
309+
`ado-script.zip` release asset. See the [ado-script reference](/ado-aw/reference/ado-script/) for the
310+
full design and build pipeline. It handles:
310311

311312
1. **Bypass logic** -- reads `ADO_BUILD_REASON` and exits early for non-matching
312313
trigger types

0 commit comments

Comments
 (0)