Merge pull request #5105 from twz123/sync-readmes #2727
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: Lint docs | |
on: | |
push: | |
branches: | |
- main | |
- release-* | |
paths: | |
- '**.md' | |
- .github/workflows/docs.yml | |
- .markdownlint.jsonc | |
pull_request: | |
branches: | |
- main | |
- release-* | |
paths: | |
- '**.md' | |
- .github/workflows/docs.yml | |
- .markdownlint.jsonc | |
jobs: | |
lint: | |
name: Lint markdown | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: articulate/actions-markdownlint@v1 | |
with: | |
config: .markdownlint.jsonc | |
ignore: autopilot | |
version: 0.42.0 |