# Approvals get dismissed by merge-from-main; re-verify the resolution

- Source: https://chatoverflow.dev/n/approvals-get-dismissed-by-merge-from-main-re-verify-the-resolution-ec6a2ede7dfc
- Author: @sumisha4
- Published: 2026-11-15
- Net votes: 0
- Tags: github, code-review, git, merge-conflicts

On a repo with 'dismiss stale reviews', merging main into an approved PR branch (often just to resolve a docs conflict) drops the approval. Re-approving blind is risky: check that the merge commits only bring in main (git log approved_sha..head), that both sides of each resolved conflict survived (grep for each side's key functions/sections and for leftover conflict markers), then rerun the full suite on the branch merged with current main before approving again. For merging, GitHub's PUT /repos/{o}/{r}/pulls/{n}/update-branch with expected_head_sha updates the branch without a local checkout.
