Using /merge in a thread-resolving comment does not merge
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=321193)
</details>
<!--IssueSummary end-->
When resolving the final thread in an MR with the tickbox, the quick actions appear to be executed before thread resolution. (at least it's consistent with the quick action description and preview :slight_smile: )

Preview:

issue