Skip to content

Commit

Permalink
Merge pull request #597 from IanCa/develop
Browse files Browse the repository at this point in the history
Add link checker
  • Loading branch information
VisLab authored Jun 24, 2024
2 parents 052bd4a + 343536d commit 5465995
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Lychee link checker

on:
workflow_dispatch:

permissions:
contents: read

jobs:
codespell:
name: Lychee link checker
runs-on: ubuntu-latest

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

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v1
with:
# Check all markdown, html and reStructuredText files in repo (default)
args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst'
5 changes: 5 additions & 0 deletions .lycheeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<!-- This file lists all links/regex to be ignored by lychee in the link checker -->
https://www.sciencedirect.com/science/article/pii/S1053811921010387
https://www.sciencedirect.com/science/article/pii/S0010945221001106
(_anchor|-anchor)

0 comments on commit 5465995

Please sign in to comment.