Skip to content

Commit a972875

Browse files
authored
Merge pull request #1 from NeurodataWithoutBorders/add/link_check_action
2 parents 7cf3d35 + e9f1320 commit a972875

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

.github/workflows/link-check.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Workflow for link checking with lychee
2+
name: Link Check Source Files with Lychee
3+
4+
on:
5+
# Runs on pull requests targeting the dev branch
6+
pull_request:
7+
branches: ["dev"]
8+
# Allows you to run this workflow manually from the Actions tab
9+
workflow_dispatch:
10+
11+
jobs:
12+
link_check:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Link Checker
19+
id: lychee
20+
uses: lycheeverse/lychee-action@v2
21+
with:
22+
# NOTE: Lychee (and sphinx) encounter issues with SSL certificates for INCF URLs, so use --insecure
23+
args: --verbose --no-progress './content/**/*.md' './content/**/*.html' './content/**/*.rst' --insecure

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,6 @@
33
/public/**
44
.hugo_build.lock
55
/todo.md
6+
7+
# PyCharm
8+
.idea/

0 commit comments

Comments
 (0)