JasonEtco / create-an-issue

A GitHub Action for creating a new issue from a template file.
MIT License
258 stars 83 forks source link

How to create a bracket in the title in the template md file #158

Closed fieldsfarmer closed 1 year ago

fieldsfarmer commented 1 year ago

I tried the following:

I tried the following:

title: [Failure]

It will throw error:

can not read a block mapping entry; a multiline key may not be an implicit key at line 3, column 10:
    assignees:

If I try the following:

title: \[Failure\]

The title would be \[Failed\]

fieldsfarmer commented 1 year ago

Just found I could put the title inside the quote like

title: "[Failure]"

, then it will show like

title: [Failure]