Skip to content

Commit baac238

Browse files
committed
fix(ci): fix for link-checker workflow [skip ci]
Related issue: Netcracker/qubership-workflow-hub#264
1 parent 4632f92 commit baac238

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Link Checker
3+
4+
on:
5+
push: null
6+
repository_dispatch: null
7+
workflow_dispatch: null
8+
permissions:
9+
contents: read
10+
jobs:
11+
linkChecker:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: Link Checker
17+
id: lychee
18+
uses: lycheeverse/lychee-action@v2
19+
with:
20+
args: >-
21+
'./**/*.md'
22+
--verbose
23+
--no-progress
24+
--user-agent 'Mozilla/5.0 (X11; Linux x86_64) Chrome/134.0.0.0'
25+
--retry-wait-time 30
26+
--max-retries 5
27+
--accept 100..=103,200..=299,429
28+
--cookie-jar cookies.json
29+
--exclude-all-private
30+
format: markdown
31+
fail: true

0 commit comments

Comments
 (0)