Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 21 additions & 7 deletions .github/workflows/org-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,24 @@
# "Require workflows to pass" rule, so GitHub runs it on every pull request
# in every repo in the org — no per-repo .github/workflows/lint.yml needed.
#
# The job is called `lint` and calls nyuchi/.github's reusable workflow, so
# its checks publish as the same five contexts as the per-repo caller:
# lint / actionlint, lint / JSON validity, lint / prettier,
# lint / markdownlint, lint / yamllint
# Two jobs, both calling reusable workflows in nyuchi/.github:
#
# A repo's own .prettierrc, .prettierignore, .markdownlint.jsonc and
# .yamllint.yaml at its root always win. Where one is missing, the reusable
# workflow falls back to the canonical copy in nyuchi/.github.
# lint lint / actionlint, lint / JSON validity, lint / prettier,
# lint / markdownlint, lint / yamllint
# vite-plus vite-plus / fmt, vite-plus / check, vite-plus / test,
# vite-plus / build
#
# openNTL is moving from prettier to Vite+ after the mzizi-dev pilot (owner
# approval 2026-10-03). The vite-plus job runs with `enforce: false` until
# every repo passes it: a failure here would fail this REQUIRED workflow and
# block the PR, so it starts advisory (warnings, green job). The order of the
# remaining steps is in the MIGRATION section of
# nyuchi/.github/.github/workflows/reusable-vite-plus.yml.
#
# A repo's own .prettierrc, .prettierignore, .markdownlint.jsonc,
# .yamllint.yaml and .oxfmtrc.json at its root always win. Where one is
# missing, the reusable workflows fall back to the canonical copy in
# nyuchi/.github.

name: Org lint

Expand All @@ -27,3 +37,7 @@ permissions:
jobs:
lint:
uses: nyuchi/.github/.github/workflows/reusable-lint.yml@main
vite-plus:
uses: nyuchi/.github/.github/workflows/reusable-vite-plus.yml@main
with:
enforce: false
Loading