Skip to content

Repos, branches, and pull requests

Editor
Engineering leadership

Everyone who changes code.

When you branch, commit, or open a pull request.

  • Must: All production changes go through a pull request. Do not push straight to the default branch.
  • Must: The PR description links the ticket and says how to test.
  • Must: Do not commit secrets, credentials, or client dumps. If you did, rotate them and treat it as something wrong.
  • Should: One PR, one outcome. Split unrelated work.
  • Should: Keep the default branch shippable. Do not merge known-broken builds.
  • Team decides: Branch names and whether you squash-merge. Write the choice in the repo README.

A reviewer can open the PR, find the ticket, run the test notes, and understand the change without asking the author to narrate it live.

  1. Create a branch from the current default branch.
  2. Commit in small steps that still build.
  3. Open the PR with ticket link and test notes.
  4. Wait for code review and a green check from CI when CI exists.
  5. Merge only when review and required checks pass.