From c5017a5c24f193bfc9ff814324943997cfa4aa2e Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sat, 25 Jan 2020 16:46:56 +1000 Subject: [PATCH] Test chick-p/action-markdownlint@v1 --- .github/workflows/reviewdog.yml | 10 +++++++++ example.md | 3 +++ foo.txt | 39 +++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 example.md create mode 100644 foo.txt diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 74cd3fe..b5cac4b 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -10,3 +10,13 @@ jobs: uses: prologic/action-remark-lint@v0.0.5 with: github_token: ${{ secrets.GITHUB_TOKEN }} + markdownlint: + name: runner / markdownlint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: markdownlint-github-pr-check + uses: chick-p/action-markdownlint@v1 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + reporter: github-pr-check diff --git a/example.md b/example.md new file mode 100644 index 0000000..ede93f1 --- /dev/null +++ b/example.md @@ -0,0 +1,3 @@ + * foo + +[something]) diff --git a/foo.txt b/foo.txt new file mode 100644 index 0000000..0d44f31 --- /dev/null +++ b/foo.txt @@ -0,0 +1,39 @@ +CODE_OF_CONDUCT.md + 17:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 18:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 19:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 20:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 21:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 25:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 27:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 28:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 29:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 31:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 71:14-71:83 warning Don’t use literal URLs without angle brackets no-literal-urls remark-lint + 76:1-76:41 warning Don’t use literal URLs without angle brackets no-literal-urls remark-lint + +CONTRIBUTING.md + 5:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 6:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 7:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 8:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + +README.md + 17:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 18:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 19:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 20:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 21:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 22:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 155:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 156:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 157:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + 171:3 warning Incorrect list-item indent: add 2 spaces list-item-indent remark-lint + +example.md + 1:3 warning Incorrect indentation before bullet: remove 2 spaces list-item-bullet-indent remark-lint + 3:1-3:12 warning Use the trailing [] on reference links no-shortcut-reference-link remark-lint + 3:1-3:12 warning Found reference to undefined definition no-undefined-references remark-lint + +⚠ 29 warnings +reviewdog: post failed for remark-lint: status=401: The access token not provided. Get token from https://reviewdog.app/gh/prologic/bitcask