CI/CD only GitHub project does not report pipeline status to Github until Test button is pressed in GitLab Integration page.
Summary
GitLab pipeline status did not show up in GitHub unless I pushed the "Test" button in the GitLab Integration page.
Steps to reproduce
- Create a project on GitHub.com (or use existing).
- Create a CI/CD only project on GitLab.com.
- Enable auto-devops.
- Make a change to code on GitHub.com and create pull request on a new branch.
- Pipeline kicks off in GitLab (in my case, the very first job - the build - failed).
- Status is not received in GitHub (shows "Continuous integration has not been set up" in pull request).
- Go to Settings/Integrations/GitHub and press the green test button.
- Status appears in GitHub pull request properly.
Example Project
I was using this project - happy to open up my GitLab and GitHub projects for this as needed: https://gitlab.com/jkrooswyk/Test-Status-by-Test-Set
What is the current bug behavior?
No CI/CD status shows up in GitHub.
What is the expected correct behavior?
Pipeline status appears in GitHub.
Relevant logs and/or screenshots
(Paste any relevant logs - please use code blocks (```) to format console output, logs, and code as it's very hard to read otherwise.)
Output of checks
This bug happens on GitLab.com
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)