mirror of
https://github.com/deviantony/docker-elk.git
synced 2025-12-12 09:50:48 +01:00
ci: Replace markdown-link-check with Linkspector
Ref. gaurav-nelson/github-action-markdown-link-check@7d83e59a57
This commit is contained in:
8
.github/workflows/docs.yml
vendored
8
.github/workflows/docs.yml
vendored
@@ -18,12 +18,14 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Check links
|
||||
uses: gaurav-nelson/github-action-markdown-link-check@v1
|
||||
uses: UmbrellaDocs/action-linkspector@v1
|
||||
with:
|
||||
config-file: .github/workflows/mlc_config.json
|
||||
config_file: .github/workflows/lint/linkspector.yml
|
||||
fail_on_error: 'true'
|
||||
filter_mode: nofilter
|
||||
|
||||
- name: Lint
|
||||
uses: avto-dev/markdown-lint@v1
|
||||
with:
|
||||
args: '**/*.md'
|
||||
config: .github/workflows/lint/markdown.yaml
|
||||
config: .github/workflows/lint/markdown.yml
|
||||
|
||||
3
.github/workflows/lint/linkspector.yml
vendored
Normal file
3
.github/workflows/lint/linkspector.yml
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
dirs: [ . ]
|
||||
ignorePatterns:
|
||||
- pattern: '^http:\/\/localhost:'
|
||||
5
.github/workflows/mlc_config.json
vendored
5
.github/workflows/mlc_config.json
vendored
@@ -1,5 +0,0 @@
|
||||
{
|
||||
"ignorePatterns": [
|
||||
{ "pattern": "^http:\/\/localhost:" }
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user