From 66cc956003d700a0d4cc6fb0369f3a4fea02bdce Mon Sep 17 00:00:00 2001 From: Bryan Fawcett Date: Sat, 3 Oct 2026 02:17:58 +0800 Subject: [PATCH] ci: enforce the Vite+ jobs and stop running prettier and JSON validity The vite-plus job drops enforce: false, so a failing vite-plus job now fails this required workflow. Every openNTL repo passed the advisory run. The lint job passes prettier: false and json-validity: false: the org ruleset now requires vite-plus / fmt, check, test and build, and vite-plus / fmt replaces both retired contexts. 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 | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/org-lint.yml b/.github/workflows/org-lint.yml index 814aa65..67d00f6 100644 --- a/.github/workflows/org-lint.yml +++ b/.github/workflows/org-lint.yml @@ -4,16 +4,17 @@ # # Two jobs, both calling reusable workflows in nyuchi/.github: # -# lint lint / actionlint, lint / JSON validity, lint / prettier, -# lint / markdownlint, lint / yamllint +# lint lint / actionlint, 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 +# openNTL moved from prettier to Vite+ after the mzizi-dev pilot (owner +# approval 2026-10-03). The vite-plus job ran advisory (`enforce: false`) +# until every repo passed it, and is now enforced: a failing vite-plus job +# fails this REQUIRED workflow. The `vite-plus /` contexts are required in +# the org ruleset; `lint / prettier` and `lint / JSON validity` are not, and +# the lint job no longer runs them (`vite-plus / fmt` replaces both). The +# full order is the MIGRATION section of # nyuchi/.github/.github/workflows/reusable-vite-plus.yml. # # A repo's own .prettierrc, .prettierignore, .markdownlint.jsonc, @@ -37,7 +38,8 @@ permissions: jobs: lint: uses: nyuchi/.github/.github/workflows/reusable-lint.yml@main + with: + prettier: false + json-validity: false vite-plus: uses: nyuchi/.github/.github/workflows/reusable-vite-plus.yml@main - with: - enforce: false