`workflow:name` does not accept null/empty string
<!--* Use this issue template for suggesting new docs or updates to existing docs. Note: Doc work as part of feature development is covered in the Feature Request template. * For issues related to features of the docs.gitlab.com site, see https://gitlab.com/gitlab-org/technical-writing/docs-gitlab-com/-/issues * For information about documentation content and process, see https://docs.gitlab.com/development/documentation/--> - [x] Start this issue's title with `Docs:` or `Docs feedback:`. ## Problem to solve <!--Include the following detail as necessary: * What product or feature(s) affected? * What docs or doc section affected? Include links or paths. * Is there a problem with a specific document, or a feature/process that's not addressed sufficiently in docs? * Any other ideas or requests?--> The CI/CD YAML syntax reference states for the [`workflow:name`](https://docs.gitlab.com/ci/yaml/#workflowname) keyword (emphasis mine): > **Additional details**: > > * If the name is an **empty string**, the pipeline is not assigned a name. A name consisting of only CI/CD variables could evaluate to an empty string if all the variables are also empty. This is wrong, since [`workflow:name`](https://docs.gitlab.com/ci/yaml/#workflowname) doesn't accept an empty string and pipeline creation errors with ![grafik.png](/uploads/9f65ebb5b2279870d4e3def039677f6e/grafik.png) ## Further details <!--* Any concepts, procedures, reference info we could add to make it easier to successfully use GitLab? * Include use cases, benefits, and/or goals for this work. * If adding content: What audience is it intended for? (What roles and scenarios?) For ideas, see personas at https://handbook.gitlab.com/handbook/product/personas/ or the persona labels at https://gitlab.com/groups/gitlab-org/-/labels?subscribed=&search=persona%3A--> The following minimal `.gitlab-ci.yml` file doesn't work: ```yaml workflow: name: "" job: script: - echo "dummy job" ``` However, it seems that [`workflow:name`](https://docs.gitlab.com/ci/yaml/#workflowname) does accept the `null` type, which correctly triggers the described behavior: ```yaml workflow: name: null job: script: - echo "dummy job" ``` ## Proposal <!--Further specifics for how can we solve the problem.--> Replace _empty string_ in the mentioned paragraph with `null`. ## Who can address the issue <!--What if any special expertise is required to resolve this issue?--> ## Other links/references <!--For example, related GitLab issues/MRs-->
issue