Fix Markdown CS #1
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 | |
name: "Docs" | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.yaml" | |
push: | |
branches: | |
- "master" | |
paths: | |
- "**/*.md" | |
- ".markdownlint-cli2.yaml" | |
# Add [skip ci] to commit message to skip CI. | |
permissions: {} # yamllint disable-line rule:braces | |
#permissions: "read-all" | |
#permissions: | |
# contents: "read" | |
concurrency: | |
group: "${{ github.workflow }}-${{ github.ref }}" | |
cancel-in-progress: true | |
jobs: | |
markdown: | |
name: "Markdown" | |
runs-on: "ubuntu-22.04" | |
timeout-minutes: 1 | |
steps: | |
- | |
name: "Checkout repository" | |
uses: "actions/checkout@v3" | |
- | |
name: "Check Markdown documents" | |
uses: "DavidAnson/markdownlint-cli2-action@v11" | |
with: | |
globs: "**/*.md" |