tokusumi / markdown-embed-code

Action to synchronize "any" code in markdown with an external file. No more managing code as plain text.
MIT License
29 stars 14 forks source link

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

Open kazurayam opened 2 years ago

kazurayam commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

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?

tokusumi commented 2 years ago

Thank you for your feedback! Please check below: