Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/workflows/link-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Workflow for link checking with lychee
name: Link Check Source Files with Lychee

on:
# Runs on pull requests targeting the dev branch
pull_request:
branches: ["dev"]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
link_check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Link Checker
id: lychee
uses: lycheeverse/lychee-action@v2
with:
# NOTE: Lychee (and sphinx) encounter issues with SSL certificates for INCF URLs, so use --insecure
args: --verbose --no-progress './content/**/*.md' './content/**/*.html' './content/**/*.rst' --insecure
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@
/public/**
.hugo_build.lock
/todo.md

# PyCharm
.idea/