Implement trigger: MR Approved (merge_request_approval_operation, action: approve)
## Summary
Post-approval tasks like changelogs, docs, and backport labels are routinely forgotten. This trigger fires at the Create stage when a merge request is approved, enabling automated pre-merge checklists and release notes drafting.
**Audit Event Name:** `merge_request_approval_operation` (filtered on `action: approve`)
---
## Agent Examples
### Agent 1 — Pre-Merge Checklist Agent
Confirms changelog entry, documentation update, and required labels are present before merge proceeds.
**Tools:**
- Get Merge Request
- List Merge Request Diffs
- Find Files
- Get Repository File
- Create Merge Request Note
- Update Merge Request
### Agent 2 — Release Notes Draft Agent
Reads MR title/description, commit history, and linked issues to create or update a release notes wiki page.
**Tools:**
- Get Merge Request
- List Commits
- Get Issue
- Get Wiki Page
- Create File With Contents
- Create Merge Request Note
---
## Implementation Notes & Caveats
> ⚠️ **This trigger shares the `merge_request_approval_operation` audit event with the "Approval Removed" trigger.** The implementation must filter on `action: approve` in the event payload. Ensure the corresponding "Approval Removed" issue is linked as a related issue, and flag this in the EventStore integration design in [gitlab-com/content-sites/handbook!18106](https://gitlab.com/gitlab-com/content-sites/handbook/-/merge_requests/18106).
issue