Skip to content

Commit 481af6c

Browse files
authoredJan 16, 2025··
[CI] Check links into github.com, excluding 4XXs for now (#5952)
1 parent 10695ee commit 481af6c

File tree

3 files changed

+1934
-138
lines changed

3 files changed

+1934
-138
lines changed
 

‎.cspell.yml

+1
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ dictionaries:
5555
# Other
5656
- companies
5757
words: # Valid words across all locales
58+
- Docsy
5859
- htmltest

‎.htmltest.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CacheExpires: 9000h # ~ 12 months
1+
CacheExpires: 13300h # ~ 18 months
22
DirectoryPath: public
33
IgnoreDirectoryMissingTrailingSlash: true
44
IgnoreAltMissing: true
@@ -56,13 +56,16 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
5656
# YouTube playlists sometimes give a 404, although they give a 200 when accessed via browser:
5757
- ^https://www.youtube.com/playlist\?list=
5858

59-
# Ignore Docsy-generated GitHub links for now
60-
- ^https?://github\.com/.*?/.*?/(new|edit)/ # view-page, edit-source etc
61-
# TODO: drop after fix to https://github.com/google/docsy/issues/1432
62-
- ^https://github.com/open-telemetry/opentelemetry.io/commit/ # last mod
59+
# Ignore Docsy-generated GitHub links for now, until
60+
# https://github.com/google/docsy/issues/1432 is fixed
61+
- ^https?://github\.com/.*?/.*?/(new|edit|issues/new\?title)/ # view-page, edit-source etc
62+
- ^https?://github\.com/open-telemetry/opentelemetry.io/tree/
6363

64-
# Ignore links to GH repo content for now.
65-
- ^https?://github\.com/.*?/.*?/(blob|tree)/
64+
# Ignore some links to GH repo content for now, most 4XX
65+
- ^https?://github\.com/(OpenObservability|opentracing|openzipkin|[pP]rometheus|prometheus-community|prometheus-operator|avillela|census-instrumentation|cloudevents|dotnet|googleapis|in-toto|w3c)/
66+
- ^https?://github\.com/open-telemetry/(build-tools|community|opentelemetry-collector-contrib|opentelemetry-collector|opentelemetry-dotnet-instrumentation|opentelemetry-helm-charts|opentelemetry-java-instrumentation|opentelemetry-java|opentelemetry-operator|opentelemetry-proto|opentelemetry-python-contrib|opentelemetry-specification|oteps|semantic-conventions|sig-end-user|weaver)/
67+
- ^https?://github\.com/open-telemetry/opentelemetry-demo/blob/main/src/(imageprovider|loadgenerator|otelcollector|.*service)
68+
# - ^https?://github\.com/.*?/.*?/(blob|tree)/
6669

6770
# Too many redirects as the server tries to figure out the country and language,
6871
# e.g.: https://www.microsoft.com/en-ca/sql-server.

‎static/refcache.json

+1,923-131
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.