Skip to content

ci: check that host-specific operations material stays out of this repository - #62

Merged
widrss merged 1 commit into
mainfrom
ci/public-hygiene-check
Nov 18, 2026
Merged

widrss merged 1 commit into
mainfrom
ci/public-hygiene-check

Conversation

@widrss

@widrss widrss commented Nov 18, 2026

Copy link
Copy Markdown
Collaborator

What

Adds scripts/check_public_hygiene.py and a CI job that runs it. The check reads every tracked text file and fails on:

  • a path that looks like a deploy plan or host runbook;
  • wording that only makes sense for the maintainers' own host;
  • a public IPv4 address that is not on the allowlist in the script.

Loopback, private, link-local and documentation ranges are ignored, as are version strings and lock files.

Why

Notes about one particular host were committed here in the past and had to be moved out. This keeps them out.

Checks

The repository is clean under the check today. An intentional exception is added to the allowlist in the script, with a reason, in the same change.

🤖 Generated with Claude Code

…pository

A new job fails when a tracked file looks like a deploy plan, names the
maintainers' own host, or carries a public IP address that is not on the
allowlist in scripts/check_public_hygiene.py.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@widrss
widrss merged commit 4f27b4e into main Nov 18, 2026
2 checks passed
@widrss
widrss deleted the ci/public-hygiene-check branch November 18, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant