mirror of
https://github.com/DavidAnson/markdownlint-cli2-action.git
synced 2026-07-01 07:29:44 +02:00
Add GitHub Action for checking links in Markdown content.
This commit is contained in:
@@ -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'
|
||||
Reference in New Issue
Block a user