[pull] master from recyclarr:master #682
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: Markdown Lint | |
on: | |
push: | |
# Explicitly specifying this results in tags being ignored, which is the goal. | |
branches: ["**"] | |
paths: | |
- "**.md" | |
- .github/workflows/markdown-lint.yml | |
- "!src/**" | |
- "!tests/**" | |
pull_request: | |
paths: | |
- "**.md" | |
- .github/workflows/markdown-lint.yml | |
- "!src/**" | |
- "!tests/**" | |
permissions: read-all | |
jobs: | |
markdownlint: | |
name: Markdown Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Lint Markdown Files | |
uses: DavidAnson/markdownlint-cli2-action@v19 | |
with: | |
globs: | | |
**.md | |
!src/** | |
!tests/** |