Files
OpenSK/.github/workflows/mdlint.yml
Jean-Michel Picod a13f9cf8bc Restore path restriction
This avoids running workflows when it's not needed
2020-02-25 10:07:03 +01:00

19 lines
376 B
YAML

name: markdownlint
on:
push:
paths:
- '**/*.md'
- '.markdownlint.json'
- '!third_party/**'
jobs:
mdlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: markdownlint-cli
uses: nosborn/github-action-markdown-cli@v1.1.1
with:
files: '**/*.md'
config_file: ".markdownlint.json"