Skip to content

Commit 13bfdeb

Browse files
docs(prompts): fix pipeline trigger description — no auto cancel step (#523)
1 parent c6cff22 commit 13bfdeb

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

prompts/create-ado-agentic-workflow.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,9 +365,14 @@ on:
365365
branches:
366366
- main
367367
- release/*
368+
filters: # optional runtime filters (compiled to gate step with self-cancellation)
369+
source-pipeline: "Build*"
370+
time-window:
371+
start: "09:00"
372+
end: "17:00"
368373
```
369374

370-
When `on.pipeline` is set: `trigger: none` and `pr: none` are generated automatically, and a step to cancel previous queued builds is included.
375+
When `on.pipeline` is set: `trigger: none` and `pr: none` are generated automatically. If `filters:` are configured under `on.pipeline`, a gate step is added to the Setup job that evaluates the filters and self-cancels the build when they do not match.
371376

372377
### Step 12 — Inline Steps (optional)
373378

0 commit comments

Comments
 (0)