Enable pull_request by default in fabro init

The generated fabro.toml now includes an uncommented [pull_request]
section with enabled=true and draft=true, so new projects auto-create
draft PRs on successful workflow runs out of the box.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-03-15 21:53:57 -04:00
parent 0ab27e40e6
commit b101ad78a2
No known key found for this signature in database

View file

@ -40,10 +40,10 @@ root = \"fabro/\"
# Disable retrospective analysis after workflow runs:
# retro = false
# Auto-create pull requests on successful workflow runs:
# [pull_request]
# enabled = true
# draft = true
# Auto-create pull requests on successful workflow runs.
[pull_request]
enabled = true
draft = true
",
)
.with_context(|| format!("failed to write {}", fabro_toml.display()))?;