Cannot use pipelines for merged results when using CI/CD for external repo
Summary
Cannot use pipelines for merged results when using CI/CD for external repo
When using CI/CD for external repo (GitHub in my case) there is no option "Merge requests" in General section of the project as described in https://docs.gitlab.com/ee/ci/merge_request_pipelines/pipelines_for_merged_results/#enable-pipelines-for-merged-results
There is an issue (#295501 (closed)) that asks for documenting the limitation but I don't think this is a reasonable limitation as there is no inherent technical limitation to allow this for external repositories as the target branch is the only required information and should be available when creating the pipeline.
Steps to reproduce
- Create CI/CD project for external repo
- Try to enable pipelines for merged results: https://docs.gitlab.com/ee/ci/merge_request_pipelines/pipelines_for_merged_results/#enable-pipelines-for-merged-results
What is the current bug behavior?
There is no way to enable pipelines for merged results as the "Merge requests" section is not present in Project > General for external repositories.
What is the expected correct behavior?
To be able to enable pipelines for merged results for an external repo
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
Gitlab 13.5
Possible fixes
Show the option and section Merge requests for external repos.