Issue-to-Merge GitHub-Native Loop (Engineer the Reload)
A full-lifecycle loop where every piece of workflow state lives in GitHub — issues, labels, PR comments — and repo files, so each cold-start session rehydrates from GitHub rather than a conversation. Built on the official claude-code-action.
Implementation note
When to use: you want an agent operating across the full delivery lifecycle — issue intake, branch, implement, PR, review fixes, merge — reliably enough that losing a session costs nothing. How it works: Claude Code runs the whole flow with all workflow state externalized to GitHub — issues, labels, PR comments — and repo files, built on the official claude-code-action. Each session starts cold and rehydrates entirely from GitHub state, which is the engineer-the-reload idea: the chat being gone doesn't cost you anything, because nothing important ever lived only in the conversation. Safety: externalized state is itself a rail — every decision and status change is visible in GitHub's audit surfaces (issue timelines, PR history) rather than an opaque transcript. The lifecycle includes merge, so govern that step with branch protection, required checks, and human approval; let the agent drive the process while the merge gate stays policy-controlled.
Source: Saulius (saulius.io) ↗
More ci loops
Re-run PR review on schedule
Re-invoke a specific PR review skill every 20 minutes until the review completes or you stop it.
Ship specs through code review
Run spec-driven workflow loop every 10 minutes: plan work, collect reviews, execute tasks, open pull requests.
Get the build green
Run the build, fix the first error, and repeat until npm run build exits 0, with a 10-turn cap.