as we wan’t to switch from TravisCI to GitLabCI, I build a multistage pipeline to run our tests, create a build and finally start a deployment if everything works fine. Therefore the repo mirroring is running to stay synced with the original GitHub repo.
We need to use GitHub because all of our resources stored there and I can’t make the whole company switch because of the deployment of just one project.
So, is it possible to integrate that a Pipeline is triggered for a Pull-Request on GitHub?
Also the status of the pipeline should be transferred to check it before you are able to merge the PR on Github.
TravisCI handles PR’s very well, it creates a merge branch and run the tests on it right away.
Actually I handled to start a pipeline with adding a webhook to the Github-Pull-Request-Event wich calls a webhook trigger for a GitLab pipeline for the desired branch. But there wont be a necessary status check or branch merge now.
What is the best practice for this scenario without switching completely to GitLab?
I would appreciate help.
Thanks and best regards.