create-an-issue icon indicating copy to clipboard operation
create-an-issue copied to clipboard

issue title cannot have a leading backtick

Open pmeier opened this issue 1 year ago • 0 comments

Example run: https://github.com/pmeier/light-the-torch/actions/runs/4793682109/jobs/8526354021

I've used backticks in the middle of the title before and they worked fine. But a leading one seems to cause trouble.

Run JasonEtco/create-an-issue@v2
⬤  debug     Reading from file .github/issue-templates/packages-out-of-sync.md
Error: end of the stream or a document separator is expected at line 1, column 8:
    title: `light-the-torch` is out of sync ... 
           ^
✖  fatal     YAMLException: end of the stream or a document separator is expected at line 1, column 8: 
    title: `light-the-torch` is out of sync ... 
           ^
    at generateError (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:11511:10)
    at throwError (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:11517:9)
    at readDocument (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:12889:5)
    at loadDocuments (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:12932:5)
    at load (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:12958:19)
    at safeLoad (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:12981:10)
    at parse (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:10282:20)
    at extractor (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:10244:12)
    at createAnIssue (/home/runner/work/_actions/JasonEtco/create-an-issue/v2/dist/index.js:41245:76)

pmeier avatar Apr 25 '23 18:04 pmeier