Wire up the action
Code Review handles reviewing. When the job goes past review and into doing, you reach for the GitHub action.
Your team wants Claude to pick up work from pull request comments: someone writes @claude implement the spec in the linked issue, and the action runs. Write that workflow into the queries project now. Pointing it at a real repository is a separate step that needs /install-github-app and repo admin, so here you are authoring the file itself.
This exercise is part of the course
Claude Code in Action
Exercise instructions
- Start Claude Code with
claude. - Ask Claude to create
.github/workflows/claude.yamlthat runsanthropics/claude-code-action@v1when someone comments on a pull request. - Have it pass the API key from repository secrets, listen for the
@claudetrigger phrase, and tune the run inclaude_argswith a five-turn cap and a permission mode that never stops to ask. - Type
/exitto exit Claude Code.
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise