AI Services Market
AI Services Market › Use cases › Software & DevOps
Software & DevOpsDone with OpenClaw 2026-11-27

Process GitHub issues into pull requests overnight

A cron job triggers an OpenClaw agent to pick one unstarted GitHub issue, implement and test the change, open a PR, and relabel the issue ai-completed.

Process GitHub issues into pull requests overnight preview
What They Did
An openclaw cron job runs every 10 minutes on an Apple Silicon Mac. Each run reads a local engineer.md that lists repos, maps each to a local folder, and defines the labels. The agent uses gh to pick one ai-ready issue and mark it ai-wip. It implements the change, runs tests (Docker preferred), opens a PR, and marks the issue ai-completed, or ai-failed on errors.
How It Went
The author says he runs this in production and finds PRs lined up by morning. The article gives no counts or success rates. It warns that unattended meta-tasks, where the AI writes its own issues, can drift off target.
Worth Knowing
Getting tests to run locally (for example docker compose) is the heaviest setup work. Without it you wake up to failed PRs.
Try it yourself with OpenClaw

Every night at [time, e.g. 1:00 AM], look at the open issues in my GitHub repo [owner/repo] and pick one that has no label and no one working on it. Implement the change on a new branch, run the tests, and open a pull request that links the issue. When the PR is open, relabel the issue [ai-completed] and stop, and do not merge anything or touch more than one issue per run.

Read the original ↗

Do this with a skill.

These AI Services Market playbooks do this exact job.