tar1090-update improvements #79
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 (Markdown) | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: | |
- main | |
# only run these if markdown files are updated | |
paths: | |
- "**.md" | |
- "**.MD" | |
jobs: | |
markdownlint: | |
name: Run markdownlint against markdown files | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- name: Pull markdownlint/markdownlint:latest Image | |
run: docker pull markdownlint/markdownlint:latest | |
- name: Run markdownlint against *.md files | |
run: docker run --rm -i -v "$(pwd)":/workdir --workdir /workdir markdownlint/markdownlint:latest --rules ~MD007,~MD013,~MD033,~MD026,~MD002,~MD022,~MD029 $(find . -type f -iname '*.md' | grep -v '/.git/') |