From 494d2640371e51d7cccaa17d33478a16649853fe Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Mon, 12 Aug 2024 20:08:35 +0200 Subject: [PATCH 1/3] ci: Added spelling check for Google-internal links --- .github/actions/spelling/line_forbidden.patterns | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/actions/spelling/line_forbidden.patterns b/.github/actions/spelling/line_forbidden.patterns index 6b0747f3cf4..b46c55385ed 100644 --- a/.github/actions/spelling/line_forbidden.patterns +++ b/.github/actions/spelling/line_forbidden.patterns @@ -289,3 +289,6 @@ # "an" should only be before vowels. \ban\s+(?![FHLMNRSX][A-Z0-9]+\b)(?!hour\b)(?!honest\b)([b-df-hj-np-tv-zB-DF-HJ-NP-TV-Z]{1}\w*) + +# Don't use Google internal links +((corp|prod).google.com|googleplex.com|https?://[0-9a-z][0-9a-z-]+/|(?:^|[^/.-])\b(?:go|b|cl|cr)/[a-z0-9_.-]+\b) From 82322e7fa4f4b552e44be796d4ccb0493888dd2c Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Mon, 12 Aug 2024 20:10:38 +0200 Subject: [PATCH 2/3] Test go link --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 89fdb4dd967..cb5ccc3dafc 100644 --- a/README.md +++ b/README.md @@ -169,3 +169,5 @@ Please use the [issues page](https://github.com/GoogleCloudPlatform/generative-a ## Disclaimer This repository itself is not an officially supported Google product. The code in this repository is for demonstrative purposes only. + +go/test From 8d3fc1e33280cb8b2314d4386a8d1fb09818b284 Mon Sep 17 00:00:00 2001 From: Holt Skinner Date: Mon, 12 Aug 2024 20:12:09 +0200 Subject: [PATCH 3/3] Remove test go link --- README.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/README.md b/README.md index cb5ccc3dafc..89fdb4dd967 100644 --- a/README.md +++ b/README.md @@ -169,5 +169,3 @@ Please use the [issues page](https://github.com/GoogleCloudPlatform/generative-a ## Disclaimer This repository itself is not an officially supported Google product. The code in this repository is for demonstrative purposes only. - -go/test