Skip to content

Commit

Permalink
Update links.yml (#12601)
Browse files Browse the repository at this point in the history
Signed-off-by: Glenn Jocher <glenn.jocher@ultralytics.com>
  • Loading branch information
glenn-jocher committed Jan 8, 2024
1 parent ad97dc6 commit 4733b4d
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ jobs:
retry_wait_seconds: 60
max_attempts: 3
command: |
lychee
--accept 403,429,500,502,999
--exclude-loopback
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)'
--exclude-path '**/ci.yaml'
--github-token ${{ secrets.GITHUB_TOKEN }}
'./**/*.md'
lychee \
--accept 403,429,500,502,999 \
--exclude-loopback \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path '**/ci.yaml' \
--github-token ${{ secrets.GITHUB_TOKEN }} \
'./**/*.md' \
'./**/*.html'
- name: Test Markdown, HTML, YAML, Python and Notebook links with retry
Expand All @@ -51,15 +51,15 @@ jobs:
retry_wait_seconds: 60
max_attempts: 3
command: |
lychee
--accept 429,999
--exclude-loopback
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)'
--exclude-path '**/ci.yaml'
--github-token ${{ secrets.GITHUB_TOKEN }}
'./**/*.md'
'./**/*.html'
'./**/*.yml'
'./**/*.yaml'
'./**/*.py'
lychee \
--accept 429,999 \
--exclude-loopback \
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|fonts\.gstatic\.com|url\.com)' \
--exclude-path '**/ci.yaml' \
--github-token ${{ secrets.GITHUB_TOKEN }} \
'./**/*.md' \
'./**/*.html' \
'./**/*.yml' \
'./**/*.yaml' \
'./**/*.py' \
'./**/*.ipynb'

0 comments on commit 4733b4d

Please sign in to comment.