Pull request workflow diagram
CI checks, review, rework loops and the merge-to-deploy path.
About this template
Every team has a pull request process and few have drawn it. Putting it on one page helps new contributors and exposes the loops where changes get stuck. This flowchart shows the two ways a pull request goes back to its author, failed checks and requested changes, and the single path to production.
Adapt it for a contributing guide or an engineering handbook.
What is in the diagram
- CI checks
- Run before review so reviewers only look at code that builds and passes tests.
- Review loop
- Requested changes send the work back through CI, not straight to the reviewer.
- Merge and deploy
- One arrow from merge to deploy implies trunk-based delivery. Add environments if you have them.