fix(CI): link checker
This commit is contained in:
2
.github/workflows/link-pr.yaml
vendored
2
.github/workflows/link-pr.yaml
vendored
@@ -37,7 +37,7 @@ jobs:
|
|||||||
# -r, --retry-wait-time <RETRY_WAIT_TIME> Minimum wait time in seconds between retries of failed requests
|
# -r, --retry-wait-time <RETRY_WAIT_TIME> Minimum wait time in seconds between retries of failed requests
|
||||||
# -u, --user-agent <USER_AGENT> User agent
|
# -u, --user-agent <USER_AGENT> User agent
|
||||||
# *.md all markdown files in the root directory
|
# *.md all markdown files in the root directory
|
||||||
args: -E -i -n -t 45 -r 3 --max-retries 5 --max-concurrency 64 -a 401,403 -u "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -- '*.md'
|
args: -E -i -n -t 45 -r 3 --max-retries 5 --max-concurrency 64 -a 401,403 -u "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -v --exclude-path "node_modules" --exclude-path "dist" --exclude-path "cache" -- '**/*.md'
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|||||||
2
.github/workflows/link-schedule.yaml
vendored
2
.github/workflows/link-schedule.yaml
vendored
@@ -38,7 +38,7 @@ jobs:
|
|||||||
# -r, --retry-wait-time <RETRY_WAIT_TIME> Minimum wait time in seconds between retries of failed requests
|
# -r, --retry-wait-time <RETRY_WAIT_TIME> Minimum wait time in seconds between retries of failed requests
|
||||||
# -u, --user-agent <USER_AGENT> User agent
|
# -u, --user-agent <USER_AGENT> User agent
|
||||||
# *.md all markdown files in the root directory
|
# *.md all markdown files in the root directory
|
||||||
args: -E -i -n -t 45 -r 3 --max-retries 5 --max-concurrency 64 -a 401,403 -u "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -- '*.md'
|
args: -E -i -n -t 45 -r 3 --max-retries 5 --max-concurrency 64 -a 401,403 -u "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36" -v --exclude-path "node_modules" --exclude-path "dist" --exclude-path "cache" -- '**/*.md'
|
||||||
output: out.md
|
output: out.md
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
|||||||
Reference in New Issue
Block a user