Skip to content

Commit f744ff8

Browse files
authored
Update links.yml to accept 401 (#82)
1 parent 56b1b78 commit f744ff8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/links.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Ultralytics YOLO 🚀, AGPL-3.0 license
22
# Continuous Integration (CI) GitHub Actions tests broken link checker using https://github.com/lycheeverse/lychee
33
# Ignores the following status codes to reduce false positives:
4+
# - 401(Vimeo, 'unauthorized')
45
# - 403(OpenVINO, 'forbidden')
56
# - 429(Instagram, 'too many requests')
67
# - 500(Zenodo, 'cached')
@@ -53,7 +54,7 @@ jobs:
5354
--scheme 'https' \
5455
--timeout 60 \
5556
--insecure \
56-
--accept 403,429,500,502,999 \
57+
--accept 401,403,429,500,502,999 \
5758
--exclude-all-private \
5859
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)' \
5960
--exclude-path '**/ci.yaml' \
@@ -87,7 +88,7 @@ jobs:
8788
--scheme 'https' \
8889
--timeout 60 \
8990
--insecure \
90-
--accept 403,429,500,502,999 \
91+
--accept 401,403,429,500,502,999 \
9192
--exclude-all-private \
9293
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com|wellfound\.com|.*\.cloudfunctions\.net|0\.0\.0\.0:5543/predict/from_files)' \
9394
--exclude-path '**/ci.yaml' \
@@ -108,7 +109,7 @@ jobs:
108109
--scheme 'https' \
109110
--timeout 60 \
110111
--insecure \
111-
--accept 429,999 \
112+
--accept 401,403,429,500,502,999 \
112113
--exclude-all-private \
113114
--exclude 'https?://(www\.)?(linkedin\.com|twitter\.com|instagram\.com|kaggle\.com|tiktok\.com|fonts\.gstatic\.com|fonts\.googleapis\.com|url\.com)' \
114115
--exclude-path '**/ci.yaml' \

0 commit comments

Comments
 (0)