GitHub CI/CD project connect flow using GitHub OAuth doesn't redirect to connect page

The GitHub CI/CD project connect flow using GitHub OAuth redirects to the import version of the status page instead of CI/CD connect.

This is caused by a missing ?ci_cd_only=true query parameter for the "List your GitHub repositories" link to status page.

As discovered by @jramsay, https://gitlab.slack.com/archives/C99JESXC4/p1520560547000282


This already works as expected for the personal access token flow or if you use OmniAuth/social-connect.

Edited by Eric Eastwood