Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kazurayam opened this issue Nov 28, 2021 · 3 comments

Comments

@kazurayam
Copy link

kazurayam commented Nov 28, 2021

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
Copy link
Author

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
Copy link
Author

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
Copy link
Owner

tokusumi commented Jan 5, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants