refactor(ci): move GitHub automation scripts under scripts/ci

The repository had three script roots with three test entry points. The automation scripts now live in scripts/ci and run through scripts/test.mjs, which gained a quick automation profile and includes them in the ci and release profiles.

The workflows keep checking the scripts out from the workflow commit, never from the PR branch. stateKey now returns its fallback explicitly, because the file is inside the empty-catch guard once it sits under scripts/. The review and diagnosis exclude lists also skip the generated frontend wordmark module.
This commit is contained in:
Nwflower committed 2026-12-04 23:24:36 -07:00
1 parent bd7c9abaa3
commit 87e7ac8774
15 files changed
+25 -17

No files matched your search

+2 -2
View File
@@ -20,8 +20,8 @@ jobs:
ref: ${{ github.workflow_sha }}
persist-credentials: false
sparse-checkout-cone-mode: false
sparse-checkout: /.github/scripts/pr-model.mjs
sparse-checkout: /scripts/ci/pr-model.mjs
- name: Check the model and coding tool declarations
env:
GITHUB_TOKEN: ${{ github.token }}
run: node .github/scripts/pr-model.mjs
run: node scripts/ci/pr-model.mjs