Add GitHub Action for checking links in Markdown content.

This commit is contained in:
David Anson 2022-08-18 03:36:39 +00:00
parent 97f349a81d
commit 3cae6ae4e6

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

@ -0,0 +1,28 @@
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:
linksToSkip: '^https://github.com/.*/search\?q= ^https://opensource.org/'
paths: '*.md doc/*.md helpers/*.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 doc/*.md helpers/*.md'