ci: Changes to markdown lint workflow

- Do not trigger on changes to yaml files under `src`
- Upgrade markdownlint-cli2-action to v10
pull/201/head
Robert Dailey 2 years ago
parent cab505591f
commit f0d88854f8

@ -6,10 +6,12 @@ on:
paths: paths:
- "**.md" - "**.md"
- .github/workflows/markdown-lint.yml - .github/workflows/markdown-lint.yml
- "!src/**"
pull_request: pull_request:
paths: paths:
- "**.md" - "**.md"
- .github/workflows/markdown-lint.yml - .github/workflows/markdown-lint.yml
- "!src/**"
jobs: jobs:
markdownlint: markdownlint:
@ -19,7 +21,7 @@ jobs:
- name: Checkout Code - name: Checkout Code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Lint Markdown Files - name: Lint Markdown Files
uses: DavidAnson/markdownlint-cli2-action@v5 uses: DavidAnson/markdownlint-cli2-action@v10
with: with:
globs: | globs: |
**.md **.md

Loading…
Cancel
Save