Skip to content

Commit

Permalink
test markdownlint-cli2's showFound config, and MD052's shortcut_syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
waldyrious committed Oct 3, 2023
1 parent c9c7622 commit 0c9c2b1
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/pull-request-checks.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: "Pull Request Checks"
on: pull_request
jobs:
# Ensure that the changelog file is updated
# Ensure that the changelog file has been updated in this PR
check-changelog-change:
runs-on: ubuntu-latest
steps:
Expand All @@ -15,11 +15,8 @@ jobs:
- name: Install the markdownlint-problem-matcher action
uses: xt0rted/markdownlint-problem-matcher@v2
- name: Install markdownlint-cli2
# We use markdownlint-cli2 instead of markdownlint-cli
# because its default output includes the version of the CLI and of markdownlint
run: npm install -g markdownlint-cli2
- name: List files that will be processed
# Can be removed once https://github.com/DavidAnson/markdownlint-cli2/issues/205 is resolved
run: npx --silent glob '**/*.md'
- name: Configure markdownlint-cli2
run: echo '{ "showFound": true }' > .markdownlint-cli2.jsonc
- name: Run markdownlint
run: markdownlint-cli2 '**/*.md'

0 comments on commit 0c9c2b1

Please sign in to comment.