Skip to content

Commit bbbea39

Browse files
committed
ci(ui-merge): retire objectui's action-ref convention scan with its workflows
`check:action-ref-convention` checks how `uses:` refs are spelled across `.github/workflows/`, against a table of declared exceptions. It was written for objectui's own workflows. objectstack#25902 ported it into the root `lint-ui` job, where it reads the root workflows. That ruling is B on objectstack#25712: the scan retires along with the nested workflows instead of being re-aimed. Two reasons: - On the root workflows, the convention it encodes is not the repository's. objectstack pins third-party actions by SHA (#25559). - Lint UI runs only on the `ui` path filter, so a workflow-only change would skip it anyway. A repository-wide action-ref convention needs a home that no path filter skips, and that goes to sub-issue 4. This change drops the step, its package alias, the script and its test. The Repo Gates comment block in `ci.yml` now names the retirement and no longer counts its gates. Co-Authored-By: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01A6SEitNngAMugGbuJHWsDS
1 parent d297282 commit bbbea39

4 files changed

Lines changed: 8 additions & 735 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3791,9 +3791,10 @@ jobs:
37913791
pnpm --dir ui run check:bash32-floor
37923792
37933793
# ── objectui's Repo Gates (objectstack#25880) ────────────────────────
3794-
# The nineteen gates of `ui/.github/workflows/repo-gates.yml`, which
3795-
# GitHub stopped running when the tree moved under `ui/` (it reads only
3796-
# this repository's `.github/workflows/`). They judge what objectui ships
3794+
# The gates of objectui's `repo-gates.yml`, which GitHub stopped running
3795+
# when the tree moved under `ui/` (it reads only this repository's
3796+
# `.github/workflows/`), and which objectstack#25712 deleted with the
3797+
# rest of `ui/.github/workflows/`. They judge what objectui ships
37973798
# — `ui/content/docs/**`, `ui/skills/**`, the package READMEs and the
37983799
# documented component types — so the change most likely to trip them is
37993800
# a docs-only or skills-only PR, which the `filter` job's `ui` globs
@@ -3808,15 +3809,14 @@ jobs:
38083809
# `.objectstack-pin` restore / build / save (the merged tree builds
38093810
# `@objectstack/*` from the workspace, see the header above
38103811
# `type-check-ui`) and the turbo-cache report / prune bookkeeping (this
3811-
# job's own restore and save serve the build below).
3812+
# job's own restore and save serve the build below). Retired since: the
3813+
# Action Ref Convention scan, which judged objectui's own workflows and
3814+
# went with them (objectstack#25712); a repository-wide action-ref
3815+
# convention needs a home that no `ui` path filter skips (sub-issue 4).
38123816
- name: Control Byte Scan — Scan tracked text files for raw control bytes
38133817
if: ${{ !cancelled() }}
38143818
run: pnpm --dir ui run check:control-bytes
38153819

3816-
- name: Action Ref Convention — Check action reference spelling against the declared convention
3817-
if: ${{ !cancelled() }}
3818-
run: pnpm --dir ui run check:action-ref-convention
3819-
38203820
# Self-test first: a scan whose recogniser is broken reports a clean
38213821
# tree. It derives its population from this repository's workflows, so
38223822
# it walks this job's install-free steps, itself included.

‎ui/package.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@
5555
"census:changeset-polarity": "node scripts/changeset-polarity-census.mjs",
5656
"check:new-line-citations": "node scripts/check-new-cross-file-line-citations.mjs",
5757
"check:control-bytes": "node scripts/check-control-bytes.mjs",
58-
"check:action-ref-convention": "node scripts/check-action-ref-convention.mjs",
5958
"check:published-dist": "node scripts/check-published-dist-tooling.mjs",
6059
"check:published-tsconfig-exclude": "node scripts/check-published-tsconfig-tooling-exclude.mjs",
6160
"check:i18n-keys": "node scripts/check-i18n-call-site-keys.mjs",

‎ui/scripts/__tests__/check-action-ref-convention.test.ts‎

Lines changed: 0 additions & 337 deletions
This file was deleted.

0 commit comments

Comments
 (0)