"Set up CI/CD" button shows even when CI is configured
Summary
The "Set up CI/CD" button shows up incorrectly even when CI is already configured, when not having a
.gitlab-ci.yml
file, but a different file at another location configured in the project settings.
Steps to reproduce
- Create repository
- Create a subfolder with a
gitlab-ci.yml
file - Set the path to that
gitlab-ci.yml
file in the Projects CI settings - CI is now configured
Example Project
https://gitlab.com/ePirat/cibuttonbugtestproject
What is the current bug behavior?
The "Set up CI/CD" button still shows up.
What is the expected correct behavior?
The button should reflect reality and instead link to the CI/CD file just like it
happens when I have a .gitlab-ci.yml
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com
Happens for a self-hosted CE edition too but I have no access to relevant logs there and I doubt anything helpful would be in there for this bug.
If it is still required, let me know.
Related issues
Possibly related ticket is #30603 (closed)