0
0
Fork 0
mirror of https://github.com/DavidAnson/markdownlint-cli2-action.git synced 2024-10-16 12:07:01 +02:00

Add GitHub Action for checking links in Markdown content.

This commit is contained in:
David Anson 2022-08-20 12:46:31 -07:00
parent 33df300637
commit 5ea3328efa
2 changed files with 30 additions and 0 deletions

3
.github/dictionary.txt vendored Normal file
View file

@ -0,0 +1,3 @@
CommonMark
markdownlint-cli2-action
README

27
.github/workflows/checkers.yml vendored Normal file
View file

@ -0,0 +1,27 @@
name: Checkers
on:
pull_request:
push:
schedule:
- cron: '30 12 * * *'
workflow_dispatch:
jobs:
linkcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JustinBeckwith/linkinator-action@v1.10.2
with:
paths: '*.md'
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: tbroadley/spellchecker-cli-action@v1.1.1
with:
dictionaries: '.github/dictionary.txt'
files: '*.md'