From 119ce7d290ffb8857e7e8cc98cfa0141050f71fb Mon Sep 17 00:00:00 2001 From: Bryan Fawcett Date: Sat, 3 Oct 2026 01:56:11 +0800 Subject: [PATCH] ci: run the Vite+ jobs in the org-required workflow, advisory first Adds a vite-plus job calling nyuchi/.github's reusable-vite-plus.yml, publishing vite-plus / fmt, check, test and build in every openNTL repo. It runs with enforce: false: this workflow is required, so a failing job would block every PR before the repos have adopted the Vite+ contract. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01GHjaH1Vt2dVLWU68iz8tFq Signed-off-by: Bryan Fawcett --- .github/workflows/org-lint.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/org-lint.yml b/.github/workflows/org-lint.yml index 4b528b6..814aa65 100644 --- a/.github/workflows/org-lint.yml +++ b/.github/workflows/org-lint.yml @@ -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 @@ -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