Repository navigation
ci: add the org-required lint workflow - #1
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq
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
.github/workflows/org-lint.yml, the org-required lint workflow.The org ruleset
org-wide-main-protectiongains a "Require workflows to pass" rule naming this file, so GitHub runs it on every pull request (and merge-queue group) in every repo in the org. Its job is calledlintand callsnyuchi/.github/.github/workflows/reusable-lint.yml@main, so it publishes the same five contexts the ruleset already requires (lint / actionlint,lint / JSON validity,lint / prettier,lint / markdownlint,lint / yamllint). Per-repolint.ymlcallers then become redundant.Proven first in mzizi-dev (mzizi-dev/.github org-lint.yml + ruleset rule; a test PR with the repo's own lint.yml deleted published all five contexts and passed).
This repo had only a README, so this also adds the org lint configs (
.prettierrc,.prettierignore,.markdownlint.jsonc,.yamllint.yaml) copied from nyuchi/.github, so its own pull requests lint against the standard.🤖 Generated with Claude Code
https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq