Interview Prep/Git & GitHub/GitHub, Actions and Pull Request Issues

The PR was approved, but merging shows "Review required" again after you pushed a small fix.

BeginnerTroubleshootingGitHub, Actions and Pull Request Issues
Answer

Likely causes → Branch protection has "Dismiss stale pull request approvals when new commits are pushed" or "Require approval of the most recent reviewable push" enabled. Your new commit invalidated the approval.

Diagnose → gh pr view --json reviewDecision,latestReviews and the protection settings.

Fix → Ask for a re-review (gh pr edit --add-reviewer alice). Batch your fixes before requesting review to avoid repeated cycles.

Prevent → This setting is deliberate for security; keep it on for main, and agree on review etiquette so re-approvals are quick.

All Git & GitHub questions Roadmap: Git & GitHub

More on GitHub, Actions and Pull Request Issues