Skip to content

Commit f9d3550

Browse files
docs: fix documentation drift — undocumented create-pr config fields and missing MCP container fields (#500)
1 parent 4dc43d3 commit f9d3550

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

docs/safe-outputs.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,9 +173,16 @@ Note: The source branch name is auto-generated from a sanitized version of the P
173173
- `auto-complete` - Set auto-complete on the PR (default: false). Requires `draft: false` to take effect.
174174
- `delete-source-branch` - Delete source branch after merge (default: true)
175175
- `squash-merge` - Squash commits on merge (default: true)
176+
- `title-prefix` - Optional string prepended to all PR titles created by this agent (e.g., `"[Bot] "`)
177+
- `if-no-changes` - Behavior when the agent's patch produces no file changes: `"warn"` (default, succeed with a warning), `"error"` (fail the step), `"ignore"` (succeed silently)
178+
- `max-files` - Maximum number of files allowed in a single PR (default: 100). PRs exceeding this limit are rejected.
179+
- `protected-files` - Controls whether manifest/CI files (e.g., `package-lock.json`, `.github/`, `*.lock`) can be modified: `"blocked"` (default, reject changes to these files) or `"allowed"` (permit all files)
180+
- `excluded-files` - Glob patterns for files to strip from the patch before applying (e.g., `["*.lock", "dist/**"]`)
181+
- `allowed-labels` - Allowlist of labels the agent is permitted to apply. If empty (default), any labels are accepted.
176182
- `reviewers` - List of reviewer emails to add
177183
- `labels` - List of labels to apply
178184
- `work-items` - List of work item IDs to link
185+
- `fallback-record-branch` - When PR creation fails, record the pushed branch name and target branch in the failure response so operators can manually create the PR (default: true)
179186
- `max` - Maximum number of create-pull-request outputs allowed per run (default: 1)
180187
- `include-stats` - Whether to append agent execution stats (token usage, duration, model) to the PR description (default: true)
181188

prompts/create-ado-agentic-workflow.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,10 @@ mcp-servers:
201201
entrypoint: "node"
202202
entrypoint-args: ["path/to/server.js"]
203203
enabled: false # Set to false to temporarily disable without removing
204+
args: ["--memory", "512m"] # Additional Docker runtime args (inserted before image name).
205+
# Dangerous flags like --privileged trigger compile-time warnings.
206+
mounts:
207+
- "/host/data:/app/data:ro" # Volume mounts in "source:dest:mode" format
204208
env:
205209
API_KEY: "$(MY_SECRET)"
206210
allowed:

0 commit comments

Comments
 (0)