Skip to content

Commit

Permalink
ci: add link check workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Frazer Smith committed Feb 24, 2021
1 parent dcd27cf commit 1934a77
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Check Markdown for Broken Links

on:
schedule:
# 01:30 every day
- cron: "30 1 * * *"
# Allows this workflow to be run manually from the Actions tab
workflow_dispatch:

jobs:
link-check:
name: Link Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
- name: Run Linkinator
run: npx linkinator *.md --skip 'https://github.com/Fdawgs/.*/issues/, https://github.com/Fdawgs/.*/commit/, http://0.0.0.0'

0 comments on commit 1934a77

Please sign in to comment.