mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2024-12-26 23:03:32 +01:00
Add GitHub Action for checking links in Markdown content.
This commit is contained in:
parent
33df300637
commit
5ea3328efa
2 changed files with 30 additions and 0 deletions
3
.github/dictionary.txt
vendored
Normal file
3
.github/dictionary.txt
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
CommonMark
|
||||
markdownlint-cli2-action
|
||||
README
|
27
.github/workflows/checkers.yml
vendored
Normal file
27
.github/workflows/checkers.yml
vendored
Normal 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'
|
Loading…
Reference in a new issue