ci(lint): adopt the canonical org lint gate - #4
Merged
Conversation
Adds the identical caller every repo in the seven orgs now uses, and the canonical .prettierrc, .prettierignore, .markdownlint.jsonc, .yamllint.yaml and .editorconfig from nyuchi/.github. No copy of the lint policy is added here. This org's .github repo keeps its own reusables (gitleaks, rust-ci, pr-title-lint) but the LINT policy stays in exactly one place: nyuchi/.github is public, and a public reusable workflow is callable from any org, so all seven orgs call the one file. Five divergent copies is the failure this is undoing. Fixes one real markdown bug found by the gate: in ORG_STANDARDS.md a line wrapped so that "# 265" began a line, which every markdown renderer reads as an H1. It is now an inline code span on the previous line. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds the identical lint caller every repo in the seven orgs now uses, plus the canonical config files from
nyuchi/.github.No policy copy here
This repo keeps its own reusables (gitleaks, rust-ci, pr-title-lint), but the lint policy stays in exactly one place.
nyuchi/.githubis public, and a public reusable workflow is callable from any org — proven in production by privatebundu-labs/marketing. Five divergent copies is the failure this undoes.Real bug the gate caught
ORG_STANDARDS.mdhad a line wrapped so that# 265began a line — which every markdown renderer reads as an H1, breaking the document outline. Now an inline code span on the previous line.Verification
Ran CI's exact pinned toolchain locally (actionlint 1.7.12, prettier 3.9.4, markdownlint-cli2 0.23.2, yamllint 1.38.0): clean.
Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com