SpinTheMic
Pro

Interview practice question

Main branch keeps getting broken

Cloud & DevOps · CI/CD · Beginner

Developers sometimes push directly to main, and the build breaks several times a week. What would you put in place?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Branch protection: no direct pushes.
  • Required PR reviews.
  • Required passing status checks.
  • Up-to-date branch or merge queue.
  • Fix broken main immediately (revert).
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics