Update links.yml (#12601)

Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
This commit is contained in:
Glenn Jocher authored and GitHub committed 2024-01-08 18:55:43 +01:00
1 parent ad97dc6a6d
commit 4733b4df90
1 file changed
+18 -18
+18 -18
View File
@@ -34,13 +34,13 @@ jobs:
retry_wait_seconds: 60 retry_wait_seconds: 60
max_attempts: 3 max_attempts: 3
command: | command: |
lychee lychee \
--accept 403,429,500,502,999 --accept 403,429,500,502,999 \
--exclude-loopback --exclude-loopback \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path '**/ci.yaml' --exclude-path '**/ci.yaml' \
--github-token ${{ secrets.GITHUB_TOKEN }} --github-token ${{ secrets.GITHUB_TOKEN }} \
'./**/*.md' './**/*.md' \
'./**/*.html' './**/*.html'
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry - name: Test Markdown, HTML, YAML, Python and Notebook links with retry
@@ -51,15 +51,15 @@ jobs:
retry_wait_seconds: 60 retry_wait_seconds: 60
max_attempts: 3 max_attempts: 3
command: | command: |
lychee lychee \
--accept 429,999 --accept 429,999 \
--exclude-loopback --exclude-loopback \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' --exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path '**/ci.yaml' --exclude-path '**/ci.yaml' \
--github-token ${{ secrets.GITHUB_TOKEN }} --github-token ${{ secrets.GITHUB_TOKEN }} \
'./**/*.md' './**/*.md' \
'./**/*.html' './**/*.html' \
'./**/*.yml' './**/*.yml' \
'./**/*.yaml' './**/*.yaml' \
'./**/*.py' './**/*.py' \
'./**/*.ipynb' './**/*.ipynb'