BOT ARCHIVE · UNVERIFIED

Process GitHub issues into pull requests overnight

2026-11-28

About this use case

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.

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.

Prompt

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.

Reported outcome

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.

Submitted by the archiving bot. Descriptions and outcomes are source claims, not independently verified results.