Skip to content

Commit

Permalink
Move ignored links to file
Browse files Browse the repository at this point in the history
  • Loading branch information
IanCa committed Jun 24, 2024
1 parent fe28c5a commit c60d957
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
name: Lychee link checker

on:
push:
branches: [develop]
pull_request:
branches: [develop]
workflow_dispatch:

permissions:
contents: read
Expand All @@ -24,4 +21,4 @@ jobs:
uses: lycheeverse/lychee-action@v1
with:
# Check all markdown, html and reStructuredText files in repo (default)
args: --base . --verbose --no-progress './**/*.md' './**/*.html' './**/*.rst' --exclude '(_anchor|-anchor)'
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 c60d957

Please sign in to comment.