markdown-embed-code icon indicating copy to clipboard operation
markdown-embed-code copied to clipboard

(<unknown>): mapping values are not allowed in this context at line 13 column 30

Open kazurayam opened this issue 4 years ago • 3 comments

I tried this for the first time. I just copy & pasted the YAML file from the doc. When I pushed the source, GitHub sent an email to me saying an error was found in the YAML.

README uses Mark

I tried YAML Lint YAMLlint - The Y

It said

(<unknown>): mapping values are not allowed in this context at line 13 column 30

What should I do?

kazurayam avatar Nov 28 '21 13:11 kazurayam

I thought that at the LINE#13 I need to insert a line of with: as follows

      - uses: actions/checkout@v2
        with:
          persist-credentials: false

By this, it seems I could make the YAML syntactically valid.

kazurayam avatar Nov 28 '21 14:11 kazurayam

However, after the change I mentioned above, no errors appeared, but I could not see the code file embeded in my README.md. Maybe I made something wrong. But I miss any clue what should I do next. Any advise to find my error?

kazurayam avatar Nov 28 '21 14:11 kazurayam

Thank you for your feedback! Please check below:

  • Fix path in your readme to satisfy syntax (see "How to use" in readme)
  • open pull request to trigger this github action

tokusumi avatar Jan 05 '22 08:01 tokusumi