Run Claude Code from a GitHub workflow, so a labelled issue becomes a pull request while you do something else.
Out on Wednesday 14 October10 minutes, one build start to finish
Why this matters
Claude Code in a terminal still needs you at the keyboard. Running it from a GitHub workflow turns a labelled issue into a pull request while you work on something else, and keeps the review step where it already is: in the pull request.
What you build
Claude Code picking up an issue on its own and opening a pull request for you to review.
Install the Claude GitHub app and add your API key as a repository secret.
Add the workflow that starts Claude Code from an issue.
Trigger it on an issue, and Claude Code works on it in a GitHub Actions runner.
Review the pull request it opens like any other.
The ideas behind it
Triggered by an issue
A label or comment starts the run, so anyone on the team can hand work to the agent.
Runs in CI
Claude Code works in a GitHub Actions runner with the repository checked out, not on your machine.
Reviewed like any change
The result arrives as a pull request with its diff, tests and checks, and goes through your normal review.
Before you start
You need
A GitHub repository you can add workflows to, and an Anthropic API key.
Length
About 10 minutes, one build start to finish.
Questions
Is it safe to give an agent repository access?
Its access is limited to what the workflow and app allow, and nothing merges without your review.
What does it cost?
Your Anthropic API usage plus normal GitHub Actions minutes.
Does it work on private repositories?
Yes, with the GitHub app installed on that repository.
Is the recorded lab free?
Yes. Watch it any time, follow the steps and keep the code you build.
How is it different from a Live Lab?
A recorded lab is one short build you follow on your own. A Live Lab builds a bigger part of the system in an hour, with time for your questions.