Skip to content

Commit

Permalink
Revert "Switch link checker to lychee (and let it run more often) (Ja…
Browse files Browse the repository at this point in the history
…bRef#532)"

This reverts commit 730dc64.
  • Loading branch information
koppor authored and Tridecatrix committed Oct 17, 2024
1 parent 26c6a10 commit 5098736
Show file tree
Hide file tree
Showing 5 changed files with 68 additions and 56 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/check-links.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check Markdown links

on:
workflow_dispatch:

jobs:
markdown-link-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
use-verbose-mode: 'no'
config-file: 'mlc_config.json'
folder-path: 'en'
40 changes: 0 additions & 40 deletions .github/workflows/checks.yaml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Lint
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Set up Git repository
uses: actions/checkout@v4
with:
show-progress: ''
- name: markdownlint-cli2-action
uses: DavidAnson/markdownlint-cli2-action@v9
with:
globs: |
**/*.md
#node_modules
16 changes: 0 additions & 16 deletions .lycheeignore

This file was deleted.

31 changes: 31 additions & 0 deletions mlc_config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"ignorePatterns": [
{
"pattern": "^https://.*\\.crossref\\.org"
},
{
"pattern": "^https://.*\\.github\\.com"
},
{
"pattern": "^https://dl\\.acm\\.org"
},
{
"pattern": "^http://purl\\.org/net/bibteXMP"
},
{
"pattern": "^https://.*\\.jabref\\.org"
},
{
"pattern": "\\.tex\\.ac\\.uk/"
},
{
"pattern": "gitignore\\.io"
},
{
"pattern": "en\\.wikipedia\\.org"
},
{
"pattern": "^https://web.archive.org/"
}
]
}

0 comments on commit 5098736

Please sign in to comment.