Skip to content

Commit

Permalink
add user guide link checker
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-webber committed Jun 26, 2024
1 parent 712f216 commit 4d61e16
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/gh-pages-test-links.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
---
name: check user guide links

on:
pull_request:
paths:
- "source/**"

permissions: {}
jobs:
check-links:
name: Test
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
id: checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6

- name: Lychee
id: lychee
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # v1.10.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
args: --verbose --no-progress './**/*.md' './**/*.html' './**/*.erb' --exclude-loopback --accept 403,200,429
fail: true

0 comments on commit 4d61e16

Please sign in to comment.