Skip to content

Fix markdownlint execution in the CI pipeline #88

Fix markdownlint execution in the CI pipeline

Fix markdownlint execution in the CI pipeline #88

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

View workflow run for this annotation

GitHub Actions / Pull Request Checks

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request-checks.yml (Line: 15, Col: 9): 'uses' is already defined .github/workflows/pull-request-checks.yml (Line: 16, Col: 9): Unexpected value 'run'

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

View workflow run for this annotation

GitHub Actions / Pull Request Checks

Invalid workflow file

The workflow is not valid. .github/workflows/pull-request-checks.yml (Line: 15, Col: 9): 'uses' is already defined .github/workflows/pull-request-checks.yml (Line: 16, Col: 9): Unexpected value 'run'
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'