Skip to content

Commit

Permalink
.github/workflows: Add check-links.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gmacario committed Oct 28, 2023
1 parent b542c0a commit f277e05
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/check-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Check Markdown links

on:
push:
paths:
- ".github/workflows/check-links.yml"
- "**.md"
pull_request:
paths:
- ".github/workflows/check-links.yml"
- "**.md"
schedule:
# Run every Tuesday at 3 AM UTC to catch breakage caused by changes to the linked sites.
- cron: "0 3 * * TUE"
workflow_dispatch:
repository_dispatch:

jobs:
markdown-link-check:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Check links
uses: gaurav-nelson/[email protected]
with:
folder-path: './code, ./docs, ./mocs'
file-path: './README.md, ./LICENSE'
use-quiet-mode: yes

# EOF

0 comments on commit f277e05

Please sign in to comment.