Unable to create <NAME>.gitlab-ci.yml (or edit) using Edit UI button

Summary

Unable to create/edit filename with pattern <NAME>.gitlab-ci.yml that we're using on repo where we store our custom gitlab-ci shared template

Seems to be similar to #34443 (closed)

Steps to reproduce

Can be reproduce on gitlab.com or on-premise instance (>= 12.3)

Edit

if you try to edit <NAME>.gitlab-ci.yml it using Edit UI button

Screen_Shot_2019-10-29_at_11.05.20

The file will be forcely renamed .gitlab-ci.yml

Screen_Shot_2019-10-29_at_11.12.07

Create

Is not possible to create file <NAME>.gitlab-ci.yml using Edit UI button because is automatically renamed .gitlab-ci.yml

Example Project

https://gitlab.com/kakawait/gitlab-ci-edit-bug

Or any gitlab.com projects

What is the current bug behavior?

Automatic / force renamed <NAME>.gitlab-ci.yml to .gitlab-ci.yml (if I think pattern <NAME>.gitlab-ci.yml could be anything else is more about file extension *.gitlab-ci.yml)

What is the expected correct behavior?

Do not rename filenames...

Output of checks

This bug happens on GitLab.com

Workarounds

  1. Do not use UI
  2. Use Web IDE (not affected)
Edited Oct 29, 2019 by Thibaud Lepretre
Assignee Loading
Time tracking Loading