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
7 changes: 7 additions & 0 deletions docs/safe-outputs.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,16 @@ Note: The source branch name is auto-generated from a sanitized version of the P
- `auto-complete` - Set auto-complete on the PR (default: false). Requires `draft: false` to take effect.
- `delete-source-branch` - Delete source branch after merge (default: true)
- `squash-merge` - Squash commits on merge (default: true)
- `title-prefix` - Optional string prepended to all PR titles created by this agent (e.g., `"[Bot] "`)
- `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)
- `max-files` - Maximum number of files allowed in a single PR (default: 100). PRs exceeding this limit are rejected.
- `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)
- `excluded-files` - Glob patterns for files to strip from the patch before applying (e.g., `["*.lock", "dist/**"]`)
- `allowed-labels` - Allowlist of labels the agent is permitted to apply. If empty (default), any labels are accepted.
- `reviewers` - List of reviewer emails to add
- `labels` - List of labels to apply
- `work-items` - List of work item IDs to link
- `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)
- `max` - Maximum number of create-pull-request outputs allowed per run (default: 1)
- `include-stats` - Whether to append agent execution stats (token usage, duration, model) to the PR description (default: true)

Expand Down
4 changes: 4 additions & 0 deletions prompts/create-ado-agentic-workflow.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,10 @@ mcp-servers:
entrypoint: "node"
entrypoint-args: ["path/to/server.js"]
enabled: false # Set to false to temporarily disable without removing
args: ["--memory", "512m"] # Additional Docker runtime args (inserted before image name).
# Dangerous flags like --privileged trigger compile-time warnings.
mounts:
- "/host/data:/app/data:ro" # Volume mounts in "source:dest:mode" format
env:
API_KEY: "$(MY_SECRET)"
allowed:
Expand Down