ci: the forge can run this repository's workflows — labels, timeouts, and the c4 stand-in re-copied #3

Open
ceres wants to merge 0 commits from ceres/ceres-forge-workflows into main
Member

Purpose (workflow port): the forge can start and run this repository's workflows, so macula-services/mcl-mail#1's code review can finish with a real run on its tip — because nothing here could run on the forge at all.

Refs mcl-mail#1. Scope is the three things the dispatcher named, no more; build-push.yml and the release-guard and attest stand-ins are gated to github.com and untouched.

What changes

  • lint.yml — runs-on: docker, the label our forge runner serves (this repository is private and GitHub CI is retired for it), with timeout-minutes: 60 (a cold run of the job in this image took about six minutes on 2026-11-22); and the plain-shell checkout replacing actions/checkout@v4, which dies at step 0 in a macula-ci job image because the image carries no node. That step is byte-identical to the station's pluto/checkout b8576e9b, checked with diff.
  • c4-model.yml — passes runs-on: '["docker"]' to its stand-in, as the station does, so the job lands on our runner instead of the ubuntu-latest default.
  • ci-images-c4-model.yml — re-copied byte for byte from macula-io/macula-ci-images .github/workflows/c4-model.yml at 862d8b326cc7aca1af765b5882d64df837931900, under the STAND-IN header that names the pin and the command that checks it (tail -n +11 … | diff - is clean). That copy carries the job's timeout-minutes: 5. It is not hand-edited here.
  • .github/actionlint.yaml — the station's file: docker is a self-hosted label on the forge, and actionlint checks runs-on against GitHub's list unless the label is declared. actionlint now answers 0, no lines, on all six workflow files.

The c4 template still starts its job with actions/checkout@v4. Its job sets no container:, so it runs in the runner's own job image — node:22-bookworm where the label is ubuntu-latest — and the station's c4 runs pass on the forge with this same copy. A change belongs in macula-ci-images, not in this copy; the dispatcher has been told.

Runs

The repository's Actions are off until the Supervisor's hold (forge-actions-off-until-ported) is lifted. Once they are on, a push to this head starts lint.yml; its run id and job list go to the dispatcher with the handoff.

Verified locally without a run: actionlint 0 on every workflow; the stand-in's byte-identity to its pin; the checkout step's byte-identity to the station's.

Purpose (workflow port): the forge can start and run this repository's workflows, so macula-services/mcl-mail#1's code review can finish with a real run on its tip — because nothing here could run on the forge at all. Refs mcl-mail#1. Scope is the three things the dispatcher named, no more; `build-push.yml` and the release-guard and attest stand-ins are gated to github.com and untouched. ## What changes - **`lint.yml`** — `runs-on: docker`, the label our forge runner serves (this repository is private and GitHub CI is retired for it), with `timeout-minutes: 60` (a cold run of the job in this image took about six minutes on 2026-11-22); and the **plain-shell checkout** replacing `actions/checkout@v4`, which dies at step 0 in a macula-ci job image because the image carries no node. That step is byte-identical to the station's `pluto/checkout` b8576e9b, checked with `diff`. - **`c4-model.yml`** — passes `runs-on: '["docker"]'` to its stand-in, as the station does, so the job lands on our runner instead of the `ubuntu-latest` default. - **`ci-images-c4-model.yml`** — **re-copied byte for byte** from `macula-io/macula-ci-images` `.github/workflows/c4-model.yml` at `862d8b326cc7aca1af765b5882d64df837931900`, under the STAND-IN header that names the pin and the command that checks it (`tail -n +11 … | diff -` is clean). That copy carries the job's `timeout-minutes: 5`. It is not hand-edited here. - **`.github/actionlint.yaml`** — the station's file: `docker` is a self-hosted label on the forge, and actionlint checks `runs-on` against GitHub's list unless the label is declared. `actionlint` now answers 0, no lines, on all six workflow files. The c4 template still starts its job with `actions/checkout@v4`. Its job sets no `container:`, so it runs in the runner's own job image — `node:22-bookworm` where the label is `ubuntu-latest` — and the station's c4 runs pass on the forge with this same copy. A change belongs in `macula-ci-images`, not in this copy; the dispatcher has been told. ## Runs The repository's Actions are off until the Supervisor's hold (`forge-actions-off-until-ported`) is lifted. Once they are on, a push to this head starts `lint.yml`; its run id and job list go to the dispatcher with the handoff. Verified locally without a run: `actionlint` 0 on every workflow; the stand-in's byte-identity to its pin; the checkout step's byte-identity to the station's.
The only runner-facing jobs here named `ubuntu-latest` and its c4 stand-in was
pinned before the forge existed, so nothing in this repository could run on the
forge at all. This unblocks it for macula-services/mcl-mail#1; no check is added.

- lint.yml: `runs-on: docker`, the label our forge runner serves (this
  repository is private and GitHub CI is retired for it), with
  `timeout-minutes: 60` — a cold run of the job in this image took about six
  minutes on 2026-11-22 — and the plain-shell checkout that replaces
  actions/checkout@v4, a JavaScript action that dies at step 0 in a macula-ci
  job image, which carries no node. That step is byte-identical to the
  station's pluto/checkout b8576e9b, checked with diff.
- c4-model.yml passes `runs-on: '["docker"]'` to the stand-in, as the station
  does, so the job lands on our runner instead of the ubuntu-latest default.
- ci-images-c4-model.yml is RE-COPIED byte for byte from
  macula-io/macula-ci-images .github/workflows/c4-model.yml at
  862d8b326cc7aca1af765b5882d64df837931900, under the STAND-IN header that
  names the pin and the diff that checks it (tail -n +11 | diff - clean). That
  copy carries the job's `timeout-minutes: 5`; it is not hand-edited here.

The template still starts its job with actions/checkout@v4. Its job sets no
`container:`, so it runs in the runner's own job image — node:22-bookworm where
the label is ubuntu-latest — and the station's c4 runs pass on the forge with
this same copy. A change belongs in macula-ci-images, not in this copy.

build-push.yml, and the release-guard and attest stand-ins, are gated to
github.com and untouched.
Same file the station carries: forgejo-setup/runner/config.yml registers ubuntu-latest and docker, both as
docker://node:22-bookworm, and actionlint checks a runs-on value against GitHub's label list unless the custom
label is declared. Without this, actionlint reports "label \"docker\" is unknown" on lint.yml, which is the
one thing the port changed there. actionlint now answers 0, no lines, on all six workflow files.
c4-model: call the stand-in with no inputs, as the two green callers do
Some checks failed
c4 model / c4-model (pull_request) Failing after 0s
c4 model / c4-model-1 (pull_request) Failing after 3s
lint-and-test / check (pull_request) Successful in 4m22s
c4 model / c4-model (push) Has been cancelled
c4 model / c4-model-1 (push) Has been cancelled
lint-and-test / check (push) Has been cancelled
build-and-push / build-and-push (push) Has been skipped
build-and-push / attest (push) Failing after 0s
build-and-push / check (push) Successful in 6m22s
build-and-push / guard-1 (push) Has been skipped
build-and-push / guard (push) Successful in 0s
build-and-push / test (push) Successful in 0s
e1de1f731e
On the forge this caller failed before any step ran: both of run 1702's
tasks stopped in 0-4 s, and a job that ends that fast never reached a
step. The label is not the fault -- this repository's lint job runs
`runs-on: docker` and passed on the same commit -- and the copy is not
either: the two repositories that already run this gate on the forge
carry the same stand-in and are green.

The one structural difference was here: this caller passed
`with: runs-on: '["docker"]'`, and both green callers pass no inputs at
all. So the call now passes none, and the callee's own default,
["ubuntu-latest"], applies -- a label the forge serves, which is how the
other two repositories run it.

actionlint: 0 lines on all six workflow files.
Some checks failed
c4 model / c4-model (pull_request) Failing after 0s
c4 model / c4-model-1 (pull_request) Failing after 3s
lint-and-test / check (pull_request) Successful in 4m22s
c4 model / c4-model (push) Has been cancelled
c4 model / c4-model-1 (push) Has been cancelled
lint-and-test / check (push) Has been cancelled
build-and-push / build-and-push (push) Has been skipped
build-and-push / attest (push) Failing after 0s
build-and-push / check (push) Successful in 6m22s
build-and-push / guard-1 (push) Has been skipped
build-and-push / guard (push) Successful in 0s
build-and-push / test (push) Successful in 0s
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin ceres/ceres-forge-workflows:ceres/ceres-forge-workflows
git switch ceres/ceres-forge-workflows
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
macula-services/mcl-mail!3
No description provided.