Skip to content

ci: allowlist translated READMEs in hardcoded-URL check - #157

Merged
NetworkTheoryAppliedResearchInstitute merged 1 commit into
mainfrom
ci/allowlist-translated-readmes
Sep 8, 2026
Merged

NetworkTheoryAppliedResearchInstitute merged 1 commit into
mainfrom
ci/allowlist-translated-readmes

Conversation

@NetworkTheoryAppliedResearchInstitute

Copy link
Copy Markdown
Collaborator

Why

scripts/list-hardcoded-urls.sh greps the whole tree and has failed on every PR since the P2-002 translation drafts merged (#145): the translated READMEs carry the same http://localhost:* examples as README.md, which is already allowlisted.

What

Adds the six translated READMEs to scripts/hardcoded-url-allowlist.txt. No script logic changed.

Verified

Ran the check's grep pipeline locally against main with the new allowlist: 0 matches remain.

This unblocks a truthful CI signal on the open Dependabot PRs (#149–#156) and the consolidated dependency PR that follows.

The P2-002 translation drafts (README.{ar,es,fr,hi,tok,zh}.md) mirror the
English README's localhost examples. README.md is already allowlisted; the
translations were not, so scripts/list-hardcoded-urls.sh has failed on every
PR since they merged (#145). Add the six translated READMEs to the allowlist.

Simulated locally: 0 matches remain outside the allowlist.

Signed-off-by: Jodson Graves <info@ntari.org>
@NetworkTheoryAppliedResearchInstitute
NetworkTheoryAppliedResearchInstitute merged commit 1aa3a26 into main Sep 8, 2026
5 checks passed
@NetworkTheoryAppliedResearchInstitute
NetworkTheoryAppliedResearchInstitute deleted the ci/allowlist-translated-readmes branch September 8, 2026 13:49
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