Add link check action #11
Workflow file for this run
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
# 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 |