Description
Summary
Step "Run markdown lint" ends with en error and the README.md
isn't updated
How to reproduce
-
Open a new browser tab, and work on the steps in your second tab while you read the instructions in this tab
-
Go to the Actions tab.
-
Click New workflow.
-
Search for "Simple workflow" and click Configure.
-
Name your workflow
ci.yml
. -
Update the workflow to remove all steps other than the "checkout" step.
-
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. -
Click Start commit, and choose to make a new branch named
ci
. -
Click Propose a new file.
-
Click Create pull request.
-
Wait about 20 seconds then refresh this page (the one you're following instructions from). GitHub Actions will automatically update to the next step.