Skip to content

Commit 5098736

Browse files
kopporTridecatrix
authored andcommitted
Revert "Switch link checker to lychee (and let it run more often) (JabRef#532)"
This reverts commit 730dc64.
1 parent 26c6a10 commit 5098736

File tree

5 files changed

+68
-56
lines changed

5 files changed

+68
-56
lines changed

.github/workflows/check-links.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check Markdown links
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
markdown-link-check:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: gaurav-nelson/github-action-markdown-link-check@v1
12+
with:
13+
use-quiet-mode: 'yes'
14+
use-verbose-mode: 'no'
15+
config-file: 'mlc_config.json'
16+
folder-path: 'en'

.github/workflows/checks.yaml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/lint.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Lint
2+
on:
3+
push:
4+
branches:
5+
- main
6+
pull_request:
7+
workflow_dispatch:
8+
jobs:
9+
lint:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Set up Git repository
13+
uses: actions/checkout@v4
14+
with:
15+
show-progress: ''
16+
- name: markdownlint-cli2-action
17+
uses: DavidAnson/markdownlint-cli2-action@v9
18+
with:
19+
globs: |
20+
**/*.md
21+
#node_modules

.lycheeignore

Lines changed: 0 additions & 16 deletions
This file was deleted.

mlc_config.json

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"ignorePatterns": [
3+
{
4+
"pattern": "^https://.*\\.crossref\\.org"
5+
},
6+
{
7+
"pattern": "^https://.*\\.github\\.com"
8+
},
9+
{
10+
"pattern": "^https://dl\\.acm\\.org"
11+
},
12+
{
13+
"pattern": "^http://purl\\.org/net/bibteXMP"
14+
},
15+
{
16+
"pattern": "^https://.*\\.jabref\\.org"
17+
},
18+
{
19+
"pattern": "\\.tex\\.ac\\.uk/"
20+
},
21+
{
22+
"pattern": "gitignore\\.io"
23+
},
24+
{
25+
"pattern": "en\\.wikipedia\\.org"
26+
},
27+
{
28+
"pattern": "^https://web.archive.org/"
29+
}
30+
]
31+
}

0 commit comments

Comments
 (0)