- CLI:
python -m src.automerge --pr <num> --repo <owner/repo> - HTTP:
POST /automergewith JSON{ "pr": <num>, "repo": "<owner/repo>" }
curl -H "Authorization: Bearer $TOKEN" \
-H "X-Request-ID: <uuid>" \
-d '{"pr":123,"repo":"octo/repo"}' \
https://example.com/automergeBearer token via Authorization header or GITHUB_TOKEN env var.
Rate limit: 60 req/min per repo.
X-Request-ID required. Replays with same ID are ignored.
Semantic versioning. Deprecation window: 6 months after minor release.
401 Unauthorized404 Not Found409 Conflictwhen PR not authored by Dependabot