Lesstep
GitLab · merge requests · approvals · Checked November 19, 2026

GitLab: approvals vanish after a push

By default, GitLab removes the approvals of a merge request when more changes are added after them (Premium and Ultimate). The activity then shows reset approvals from (name) by pushing to the branch, and the merge request needs its approvals again (GitLab docs: approval settings and preventing approval resets in automated merge requests, checked November 19, 2026).

What resets, and what does not

To see that approvals are what a merge request lacks: Merge Request (MR) Review Inbox for GitLab, a plugin for JetBrains IDEs, lists the merge checks from detailed_merge_status with the blocking ones first.

Keep approvals when more changes arrive

A Maintainer or Owner opens Settings > Merge requests, scrolls to Merge request approvals > Approval settings, clears Remove all approvals and selects Save changes. Do it only if your process accepts a change that no reviewer has seen.

A bot or script that approves at once

If automation creates a merge request through the API and approves it immediately, it may approve before the commit is fully processed, and adding a commit resets existing approvals by default. The activity then shows this sequence: the bot approved, the bot added 1 commit, approvals from the bot were reset by pushing to the branch. GitLab gives two remedies:

curl --request POST --header "PRIVATE-TOKEN: your-token" --data "sha=HEAD_SHA" \
  "https://gitlab.com/api/v4/projects/group%2Fproject/merge_requests/42/approve"

If the approve call itself is refused, see why GitLab refused the approval.

GitLab merge requests in IntelliJ IDEA

Merge Request (MR) Review Inbox for GitLab, a plugin by Lesstep for JetBrains IDEs 2024.1 or later, shows a merge request's merge checks before you merge: approvals, requested changes, unresolved threads, the pipeline, conflicts, and GitLab's other reasons from detailed_merge_status, with the ones that block the merge first, and the head pipeline with a link. Approvals still needed and changes requested are among them, so you see that a push took approvals away. Reading is free; approving, commenting and merging are Pro (US$1.50 a month, with a 30-day trial).

Get it on JetBrains Marketplace

GITLAB is a trademark of GitLab Inc.; IntelliJ IDEA is a trademark of JetBrains s.r.o. This page is not affiliated with or endorsed by GitLab Inc. or JetBrains.

More: GitLab approval refused (401, 409) · GitLab merge refused (405, 409, 422) · GitLab status checks must pass (status_checks_must_pass) · GitLab comment or thread refused