Commit 22d4687
ci: install safe-paths auto-merge (#5)
Adds the safe-paths auto-merge caller from `topcoder1/ci-workflows`.
**What this enables:**
- PRs whose diff touches **only** safe paths (`docs/**`, `tests/**`,
`test_*.py`, `*_test.*`, `*.test.*`, `*.spec.*`, `**/__tests__/**`) get
`gh pr merge --auto --squash` called automatically — any author.
- All-or-nothing: any one unsafe path defers to
`claude-author-automerge.yml` or manual click.
- Branch protection still applies — required checks must pass before
auto-merge fires.
**Why this is safe:**
- Docs have zero runtime impact.
- Tests cannot break runtime (failing tests do not ship; passing tests
do not change behavior).
- Maintainers click-merging typo fixes and test additions is
alarm-fatigue-by-design — the path classification IS the safety
argument.
**Auto-merge rationale:** workflow file → manual click-merge per
CLAUDE.md. The whole point of the workflow being installed is to handle
*future* docs/tests-only PRs — not this one.
🤖 Auto-installed via
[install-safe-paths-automerge.sh](https://github.com/topcoder1/dotclaude/blob/main/templates/ci-workflows/scripts/install-safe-paths-automerge.sh)
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent cad59dc commit 22d4687
1 file changed
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments