⬆️ Bump DavidAnson/markdownlint-cli2-action from 16 to 17 #51
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: Lint Markdown files | |
on: | |
push: | |
paths: | |
# Run on workflow update | |
- '.github/workflows/lint-markdown.yml' | |
# Run only for markdown files | |
- '**.md' | |
pull_request: | |
paths: | |
# Run on workflow update | |
- '.github/workflows/lint-markdown.yml' | |
# Run only for markdown files | |
- '**.md' | |
jobs: | |
lint-markdown: | |
name: Lint Markdown files | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code from GitHub repository | |
uses: actions/checkout@v4 | |
- name: Lint Markdown files using markdownlint-cli2 | |
uses: DavidAnson/markdownlint-cli2-action@v17 | |
with: | |
globs: '**/*.md' |