Checking links in markdown files (#150)
parent
991ab68d12
commit
d7026aa694
@ -0,0 +1,7 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{
|
||||
"pattern": "^(http|https)://crates.io/"
|
||||
}
|
||||
]
|
||||
}
|
@ -0,0 +1,18 @@
|
||||
name: Check Markdown links
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-verbose-mode: 'yes'
|
||||
use-quiet-mode: 'yes'
|
||||
config-file: '.github/workflows/url-check-config.json'
|
||||
check-modified-files-only: 'yes'
|
@ -0,0 +1,17 @@
|
||||
name: Check Markdown links Periodically
|
||||
|
||||
on:
|
||||
schedule:
|
||||
# Run everyday at 0:00 AM
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
markdown-link-check:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
with:
|
||||
use-verbose-mode: 'yes'
|
||||
use-quiet-mode: 'yes'
|
||||
config-file: '.github/workflows/url-check-config.json'
|
Loading…
Reference in New Issue