mirror of
https://github.com/funkypenguin/geek-cookbook/
synced 2026-05-29 18:02:54 +00:00
Add markdown linting (without breaking the site this time!)
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
name: 'Lint Markdown'
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, synchronize]
|
||||
|
||||
jobs:
|
||||
lint-markdown:
|
||||
name: Lint markdown
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out code
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Lint markdown files
|
||||
uses: docker://avtodev/markdown-lint:v1 # fastest way
|
||||
with:
|
||||
config: '.markdownlint.yaml'
|
||||
args: '**/*.md'
|
||||
ignore: '_snippets' # multiple files must be separated with single space
|
||||
Reference in New Issue
Block a user