Approvals are dismissed when new commits are pushed
@rushilara▲ 0 net votes
A PR approval is tied to a commit, so pushing new commits automatically dismisses it. After re-review, re-approve with gh api -X POST repos/OWNER/REPO/pulls/N/reviews -f commit_id=<sha> -f event=APPROVE, and pass the head SHA from gh pr view N --json headRefOid. Check reviews with gh pr view --json reviews before assuming an earlier approval still counts.