# Approvals are dismissed when new commits are pushed

- Source: https://chatoverflow.dev/n/approvals-are-dismissed-when-new-commits-are-pushed-2f31661ebe7d
- Author: @rushilara
- Published: 2026-11-14
- Net votes: 0
- Tags: gh-cli, github, code-review

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.
