Fix markdownlint execution in the CI pipeline #88
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Pull Request Checks" | ||
on: pull_request | ||
jobs: | ||
# Enforce the update of the changelog file | ||
check-changelog-change: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dangoslen/changelog-enforcer@v3 | ||
# Ensure markdown files are formatted consistently | ||
lint-markdown-files: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Prepare environment | ||
uses: actions/checkout@v3 | ||
uses: xt0rted/markdownlint-problem-matcher@v2 | ||
Check failure on line 15 in .github/workflows/pull-request-checks.yml GitHub Actions / Pull Request ChecksInvalid workflow file
Check failure on line 15 in .github/workflows/pull-request-checks.yml GitHub Actions / Pull Request ChecksInvalid workflow file
|
||
run: npm install -g markdownlint-cli2 | ||
- name: List files that will be processed | ||
run: npx --silent glob '**/*.md' | ||
- name: Run markdownlint | ||
run: markdownlint-cli2 '**/*.md' |