Skip to content

test markdownlint-cli2's showFound config, and MD052's shortcut_syntax #93

test markdownlint-cli2's showFound config, and MD052's shortcut_syntax

test markdownlint-cli2's showFound config, and MD052's shortcut_syntax #93

name: "Pull Request Checks"
on: pull_request
jobs:
# Ensure that the changelog file has been updated in this PR
check-changelog-change:
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
# Ensure that markdown files are formatted consistently (according to .markdownlint.yml)
lint-markdown-files:
runs-on: ubuntu-latest
steps:
- name: Fetch the Wikimate code into the Actions runner
uses: actions/checkout@v3
- name: Install the markdownlint-problem-matcher action
uses: xt0rted/markdownlint-problem-matcher@v2
- name: Install markdownlint-cli2
run: npm install -g markdownlint-cli2
- name: Configure markdownlint-cli2
run: echo '{ "showFound": true }' > .markdownlint-cli2.jsonc

Check failure on line 20 in .github/workflows/pull-request-checks.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/pull-request-checks.yml

Invalid workflow file

You have an error in your yaml syntax on line 20
- name: Run markdownlint
run: markdownlint-cli2 '**/*.md'