Skip to content

[Bug] Step "Run markdown lint" ends with en error #44

Open
@ricardojfc

Description

@ricardojfc

Summary

Step "Run markdown lint" ends with en error and the README.md isn't updated

How to reproduce

  1. Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab

  2. Go to the Actions tab.

  3. Click New workflow.

  4. Search for "Simple workflow" and click Configure.

  5. Name your workflow ci.yml.

  6. Update the workflow to remove all steps other than the "checkout" step.

  7. Add the following step to your workflow:

    - name: Run markdown lint
      run: |
        npm install remark-cli remark-preset-lint-consistent
        npx remark . --use remark-preset-lint-consistent --frail

    Even after the code is indented properly in ci.yml, you will see a build error in GitHub Actions. We'll fix this in the next step.

  8. Click Start commit, and choose to make a new branch named ci.

  9. Click Propose a new file.

  10. Click Create pull request.

  11. Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds engineeringRequires engineering-specific changes only.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions