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.
Bài tập này là một phần của khóa học
Claude Code in Action
Hướng dẫn bài tập
- 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.
Bài tập tương tác thực hành
Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi
Bắt đầu bài tập