Lint markdown in PRs #119
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: Linting | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
editorconfig: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Linting with editorconfig-checker | |
run: | | |
docker run --rm --volume=${{ github.workspace }}:/check mstruebing/editorconfig-checker | |
markdown: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Linting with markdownlint-cli | |
# uses: nosborn/[email protected] | |
# using our own package until MD051 isn't falsely triggered | |
uses: gonX/github-action-markdown-cli@e088220481709c8ff1fbff0fc21addf027b95dc1 | |
with: | |
files: . | |
dot: true | |
ignore_files: site/_includes/tablets.md # upstream file |