Update README.md Autogain Section #45
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: | |
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 ~MD004,~MD013,~MD033,~MD026,~MD002,~MD022,~MD007,~MD029,~MD012,~MD034 $(find . -type f -iname '*.md' | grep -v '/.git/') |