Interview Prep/Git & GitHub/Branch protection, rulesets, CODEOWNERS and review at scale

What should a PR checklist enforce for production-bound changes?

BeginnerProductionBranch protection, rulesets, CODEOWNERS and review at scale
Answer

Tests added or updated, no secrets or debug code, docs and runbooks updated, migrations backward compatible, feature flag named, rollout and rollback described, and dashboards or alerts adjusted. Keep it to six lines or people stop reading it.

All Git & GitHub questions Roadmap: Git & GitHub

More on Branch protection, rulesets, CODEOWNERS and review at scale