mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-01-02 22:18:49 +01:00
Add GitHub Action for checking links in Markdown content.
This commit is contained in:
parent
97f349a81d
commit
3cae6ae4e6
1 changed files with 11 additions and 1 deletions
28
.github/workflows/checkers.yml
vendored
Normal file
28
.github/workflows/checkers.yml
vendored
Normal 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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue