Claude Code on Every Pull Request: Code Review and the GitHub Action — Transcript
Full transcript
- 0:02The best place to hand off repetitive
- 0:04work is the pull request. There are two
- 0:06ways to get that. The managed one is
- 0:08code review, an Anthropic hosted service
- 0:10that reviews PRs through the Claude
- 0:11GitHub app, and post findings as inline
- 0:13comments with nothing for you to build
- 0:15or host. The do-it-yourself one is the
- 0:18Claude code GitHub action for when the
- 0:19job goes beyond review and into [music]
- 0:21custom CI.
- 0:24An organization admin turns on from the
- 0:26Claude code admin settings, then
- 0:28installs the Claude GitHub app, and
- 0:30picks which repos it watches and when it
- 0:32runs. Once when a PR opens, on every
- 0:34push, or only when someone comments at
- 0:36Claude review. And from there, it runs
- 0:39on Anthropic's infrastructure. A set of
- 0:41review agents analyzes the diff against
- 0:43the full code base and post findings as
- 0:45inline comments on the specific lines,
- 0:47tagged by severity with a summary table
- 0:49in the check run. It deduplicates and
- 0:51ranks, so you read a handful of real
- 0:53findings instead of a wall of nits. It
- 0:55never approves or blocks the PR. The
- 0:57judgment call stays with a human. Code
- 0:59review is a research preview, currently
- 1:01for team and enterprise plans, so expect
- 1:03the behavior to keep on moving. And
- 1:05there's no managed auto fix. The service
- 1:07posts findings only. Applying them is a
- 1:09local move from your own terminal, where
- 1:11the {slash} code review command reviews
- 1:12a diff, and its {dash} {dash} fix flag
- 1:14applies the findings to your working
- 1:16tree.
- 1:18The action covers the jobs beyond
- 1:20review, implementing changes from a
- 1:21comment, schedule reports, anything
- 1:23you'd write a workflow for. It runs the
- 1:25agent on PR comments, scheduled jobs,
- 1:27and any GitHub event. So, from inside
- 1:29Claude code, you can run the {slash}
- 1:31installed GitHub app command. And you
- 1:33need repo admin to do this. The {slash}
- 1:35command walks you through installing the
- 1:37GitHub app and setting the Anthropic API
- 1:39key secret on the repo. The action
- 1:40itself is
- 1:41anthropic/claude-code-action@v1.
- 1:45And the inputs you'll use is the
- 1:46Anthropic API key, which is required,
- 1:49the GitHub token, which defaults to
- 1:50secrets.githubtoken,
- 1:52the trigger phrase, which is what the
- 1:53action listens for in comments, which
- 1:56just defaults to at Claude. If you use
- 1:58bedrock or vertex, you can switch to
- 2:00those providers. The prompt, which is
- 2:01the instruction for the run, and then
- 2:03the Claude arguments, which is a string
- 2:04of CLI arguments passed through to
- 2:07Claude code. So, if you drop this into
- 2:09github/workflows/claud.yaml,
- 2:11it listens for @Claude on PR comments
- 2:13and issue comments. So, someone writes
- 2:15@Claude, "Implement the spec in the
- 2:17linked linear issue." on a pull request,
- 2:19and the action picks it up. Claude
- 2:21pushes commits and post comments with
- 2:23what it did.
- 2:25This one's the daily roll up. Cron fires
- 2:27at 9:00 UTC. The action runs. Claude
- 2:29posts the results. The workflow dispatch
- 2:31trigger also lets you run it manually
- 2:33from the actions tab.
- 2:35So, the Claude args line is where all
- 2:36this fine-tuning happens. I set the max
- 2:39turns to five. This just puts a hard cap
- 2:41on the agent loop. Permission mode I put
- 2:43don't ask. This is the unattended mode.
- 2:45Allow tools is exactly what this job
- 2:47needs. So, read only for a report.
- 2:53For PR reviews, take the manage path.
- 2:55Enable code review. Let the GitHub app
- 2:57post [music] inline findings and apply
- 2:58fixes locally with code review fix.
- 3:02Reach for the action when the job is
- 3:03more than a review. Install GitHub app
- 3:05for setup. One workflow for @Claude
- 3:07mentions.
- 3:08One for cron. All the tuning in Claude
- 3:10args.
About this transcript
This page contains the full transcript of Claude Code on Every Pull Request: Code Review and the GitHub Action by Claude, generated from the public captions YouTube serves with the video. The transcript has 599 words across 95 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.