Skip to content

Commit 9c3effb

Browse files
chalincartermp
andauthored
CI: check non-resource & non-issue related links into GitHub (open-telemetry#2366)
Co-authored-by: Phillip Carter <[email protected]>
1 parent 84c9743 commit 9c3effb

File tree

5 files changed

+1207
-17
lines changed

5 files changed

+1207
-17
lines changed

.htmltest.yml

+11-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
CacheExpires: 2200h # ~ 3 months
12
DirectoryPath: public
23
IgnoreDirectoryMissingTrailingSlash: true
34
IgnoreAltMissing: true
@@ -14,9 +15,16 @@ IgnoreURLs: # list of regexs of paths or URLs to be ignored
1415
- ^https?://127\.0\.0\.1\b
1516
- ^https?://(otel-demo|traefik)\.localhost
1617

17-
- ^https?://(www\.)?github\b # TODO: process GitHub links too
18-
- ^https?://(www\.)?linkedin\.com\b # Always yields 999 Request Denied
19-
- ^https://mvnrepository\.com # Always yields 403 Forbidden
18+
- ^https://(www\.)?linkedin\.com\b # Always yields 999 Request Denied
19+
- ^https://(www\.)?mvnrepository\.com # Always yields 403 Forbidden
20+
21+
# Ignore Docsy-generated GitHub links:
22+
- ^https?://github\.com/.*?/.*?/(new|edit)/ # view-page, edit-source etc
23+
# TODO: drop after fix to https://github.com/google/docsy/issues/1432
24+
- ^https://github.com/open-telemetry/opentelemetry.io/commit/ # last mod
25+
26+
# Ignore links to GH repo content for now.
27+
- ^https?://github\.com/.*?/.*?/(blob|tree)/
2028

2129
# TODO: drop after fix to https://github.com/rust-lang/crates.io/issues/788
2230
- ^https://crates\.io/crates

content/en/blog/2022/apisix/index.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@
22
title: Apache APISIX Integrates with OpenTelemetry to Collect Tracing Data
33
linkTitle: Apache APISIX-Opentelemetry Integration
44
date: 2022-03-26
5-
author: >-
6-
[Haochao Zhuang](https://github.com/dmsolr),
7-
[Fei Han](https://github.com/hf400159)
5+
author: "[Haochao Zhuang](https://github.com/dmsolr), Fei Han"
86
canonical_url: https://apisix.apache.org/blog/2022/02/28/apisix-integration-opentelemetry-plugin/
97
spelling: cSpell:ignore APISIX
108
---

content/en/docs/instrumentation/ruby/_index.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ weight: 24
1414
OpenTelemetry Ruby is in use by a number of companies, including:
1515

1616
- [Heroku](https://heroku.com)
17-
- [GitHub](https://github.com/)
18-
- [Fulcrum](https://www.fulcrumapp.com/)
19-
- [Puppet](https://puppet.com/)
17+
- [GitHub](https://github.com)
18+
- [Fulcrum](https://www.fulcrumapp.com)
19+
- [Puppet](https://puppet.com)
2020
- [Shopify](https://shopify.com)
21-
- [TableCheck](https://www.tablecheck.com/)
21+
- [TableCheck](https://www.tablecheck.com)
2222
- [Dropbox DocSend](https://www.docsend.com)
2323

2424
If you would like to add your name to this list, please feel free to submit a pull request.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"clean": "make clean",
3131
"cp:spec": "./scripts/content-modules/cp-pages.sh",
3232
"diff:check": "git diff --name-only --exit-code || (echo; echo 'WARNING: the files above have not been committed'; echo)",
33-
"diff:fail": "git diff --name-only --exit-code || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test` and commit changes'; echo; exit 1)",
33+
"diff:fail": "git diff --name-only --exit-code || (echo; echo 'ERROR: the files above have changed. Locally rerun `npm run test` and commit changes'; echo; git diff | head -100; exit 1)",
3434
"get:submodule": "npm run _get:${GET:-submodule}",
3535
"make:public": "make public ls-public",
3636
"postbuild:preview": "npm run _check:links",

0 commit comments

Comments
 (0)