Repository navigation
Merge pull request #14 from os2ai/0.7.0 #115
This file contains hidden or 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
| ### ### Markdown | |
| ### | |
| ### Lints Markdown files (`**/*.md`) in the project. | |
| ### | |
| ### [markdownlint-cli configuration | |
| ### files](https://github.com/igorshubovych/markdownlint-cli?tab=readme-ov-file#configuration), | |
| ### `.markdownlint.jsonc` and `.markdownlintignore`, control what is actually | |
| ### linted and how. | |
| ### | |
| ### #### Assumptions | |
| ### | |
| ### 1. A docker compose service named `markdownlint` for running `markdownlint` | |
| ### (from | |
| ### [markdownlint-cli](https://github.com/igorshubovych/markdownlint-cli)) | |
| ### exists. | |
| name: Markdown | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| jobs: | |
| markdown-lint: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| - name: Create docker network | |
| run: | | |
| docker network create frontend | |
| - run: | | |
| docker compose run --rm markdownlint markdownlint '**/*.md' |