Broken Link Checker #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Broken Link Checker | |
permissions: | |
contents: read | |
# runs on prs containing markdown or html changes, as well as every monday at 9 am | |
on: | |
pull_request: | |
paths: | |
- "**.md" | |
- "**.html" | |
schedule: | |
- cron: "0 9 * * 1" | |
jobs: | |
link-checker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: npm ci | |
- name: Build Legal | |
run: npm run license-report | |
- uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 | |
with: | |
fail: true | |
jobSummary: false | |
args: --exclude-path 'node_modules' --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' |