Update examples for merged results pipeline
Not sure if you're still keeping this up to date, but thanks for getting me going in the right direction anyway. Your current examples only cover merge request pipelines and branch pipelines. This is also possible with merged result pipelines, but you have to set the ref to refs/merge-requests/${CI_MERGE_REQUEST_IID}/merge (there is no pre-defined variable to expose this ref name currently).
So it ends up looking like this for a merged result pipeline:
reconcile-merged-result:
needs:
- job: trigger-job
- project: ${CI_PROJECT_PATH}
ref: refs/merge-requests/${CI_MERGE_REQUEST_IID}/merge
job: child-pipeline-job
artifacts: true
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_EVENT_TYPE == "merged_result"'