diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d1f79f9..1b31749 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -15,6 +15,15 @@ repos: files: ^((packages|crates)/[^/]+/)?README[^/]*$|^docs/ types: [text] stages: [pre-commit] + - id: no-retired-names + name: No retired product names or wrong package names in docs + # The hosted service is "CacheKit Cloud" in prose; `CachekitIO` is only a code identifier. + # Naming rules: https://docs.cachekit.io/contributing/#names + language: pygrep + entry: '(?i:\bCachekitIO[ -](?:Cloud|SaaS|backend|service|server|API)s?\b)|\bSaaS\b|(?i:(?-x86_64-unknown-linux-musl.tar.gz --repo cachekit-io/cachekit-cli \ --signer-workflow cachekit-io/cachekit-cli/.github/workflows/release.yml \ --source-ref refs/heads/main --deny-self-hosted-runners ```