C4D Practice
← Browse by Chapter
#104Chapter 19 — Git and Pull Requests
Write a CI job for this repository that stops a merge on serious findings from the managed code review. Read the check run section of the Code Review documentation for how to read the counts of findings. The job must fail when the review's check run is missing from the pull request's head commit, when the last line of its details carries no counts, and when the count of serious findings is not zero. It runs on every push to the pull request, waits a bounded time for the review to finish, and posts its result as a status on the head commit, so that branch protection can require it. Explain how it is triggered and which commit it reads. Show me the workflow file and do not push anything.
Mastering Claude Code
Mastering Claude Code

These prompts are excerpts from the book. Get the full collection with explanations and use cases.

Get the Book →