Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CI] Check links into github.com, excluding 4XXs for now #5952

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ dictionaries:
# Other
- companies
words: # Valid words across all locales
- Docsy
- htmltest
17 changes: 10 additions & 7 deletions .htmltest.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CacheExpires: 9000h # ~ 12 months
CacheExpires: 13300h # ~ 18 months
DirectoryPath: public
IgnoreDirectoryMissingTrailingSlash: true
IgnoreAltMissing: true
Expand Down Expand Up @@ -56,13 +56,16 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
# YouTube playlists sometimes give a 404, although they give a 200 when accessed via browser:
- ^https://www.youtube.com/playlist\?list=

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

# Ignore links to GH repo content for now.
- ^https?://github\.com/.*?/.*?/(blob|tree)/
# Ignore some links to GH repo content for now, most 4XX
- ^https?://github\.com/(OpenObservability|opentracing|openzipkin|[pP]rometheus|prometheus-community|prometheus-operator|avillela|census-instrumentation|cloudevents|dotnet|googleapis|in-toto|w3c)/
- ^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)/
- ^https?://github\.com/open-telemetry/opentelemetry-demo/blob/main/src/(imageprovider|loadgenerator|otelcollector|.*service)
# - ^https?://github\.com/.*?/.*?/(blob|tree)/

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