Add check to only build read the docs if there are changes to docs di… #19
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: Markdown style checks | |
on: | |
push: | |
branches-ignore: | |
- 'main' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
markdown-lint: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: DavidAnson/markdownlint-cli2-action@v16 | |
with: | |
config: "docs/.sphinx/.markdownlint.json" |