Skip to content

Commit e54dfbf

Browse files
docs: fix schedule front matter syntax in create-ado-agentic-workflow.md (#481)
1 parent 2cd5935 commit e54dfbf

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

prompts/create-ado-agentic-workflow.md

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -85,20 +85,22 @@ engine:
8585

8686
### Step 3 — Schedule
8787

88-
Use the **fuzzy schedule syntax** (deterministic time scattering based on agent name hash prevents load spikes). Omit `schedule:` entirely for manual/trigger-only pipelines.
88+
Use the **fuzzy schedule syntax** (deterministic time scattering based on agent name hash prevents load spikes). Omit `on.schedule` (or omit `on:` entirely) for manual/trigger-only pipelines.
8989

9090
**String form** (always schedules on `main`):
9191
```yaml
92-
schedule: daily around 14:00
92+
on:
93+
schedule: daily around 14:00
9394
```
9495

9596
**Object form** (custom branch list):
9697
```yaml
97-
schedule:
98-
run: daily around 14:00
99-
branches:
100-
- main
101-
- release/*
98+
on:
99+
schedule:
100+
run: daily around 14:00
101+
branches:
102+
- main
103+
- release/*
102104
```
103105

104106
**Frequency options:**
@@ -485,7 +487,8 @@ description: "Checks for outdated npm dependencies and opens PRs to update them"
485487
engine:
486488
id: copilot
487489
model: claude-sonnet-4.5
488-
schedule: weekly on monday around 9:00
490+
on:
491+
schedule: weekly on monday around 9:00
489492
tools:
490493
azure-devops: true
491494
permissions:
@@ -570,7 +573,8 @@ Next steps:
570573
Agent reads data (Kusto, ADO) and files a work item if action is needed.
571574

572575
```yaml
573-
schedule: daily around 10:00
576+
on:
577+
schedule: daily around 10:00
574578
tools:
575579
azure-devops: true
576580
permissions:
@@ -606,7 +610,8 @@ safe-outputs:
606610
Agent makes code changes and proposes them via PR.
607611
608612
```yaml
609-
schedule: weekly on sunday
613+
on:
614+
schedule: weekly on sunday
610615
tools:
611616
azure-devops: true
612617
permissions:

0 commit comments

Comments
 (0)