ci: run on both forges, and watch contrib
CI / dco (pull_request) Successful in 5s
CI / build (pull_request) Successful in 12s
CI / runtimes (bun) (pull_request) Successful in 12s
CI / runtimes (deno) (pull_request) Successful in 11s
CI / runtimes (edge) (pull_request) Successful in 9s

Adding `contrib` to the mirror without adding it here was a hole, not a gap.
A pull request against a branch a workflow does not list triggers **nothing** —
not a reduced set of checks, none — so an external contributor would have seen
no signal at all, and neither would whoever merged their work. The branch and
its CI had to land together; the previous commit shipped only half of that.

So `contrib` joins `develop` and `main` in both trigger lists, and the three
`github.server_url != 'https://github.com'` guards are gone. Their reason went
with Verdaccio: the packages used to build against a core that existed only on
an internal registry a public runner cannot reach, and they resolve
`@green-tea/core` from npmjs.org now. Guarding CI to one forge while inviting
contributions to the other cannot both be true.

The dco job keeps `github.event_name == 'pull_request'`, matching core, so it
reports on pull requests and costs nothing on push.

Verified the way a public runner would: the workflow names no secrets and no
internal hosts, and a fresh clone runs `npm ci`, lint, typecheck, the Node suite
and `deno publish --dry-run` with nothing configured.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-09-23 11:58:48 -05:00
1 parent e1ea1542c9
commit 57c4707bc5
2 files changed
+27 -14

No files matched your search

+13 -5
View File
@@ -54,11 +54,19 @@ mirror push refuse.
removed, so promoting a tag has to stay a deliberate act rather than a side effect of promoting a
branch.
CI itself still runs on the development forge only, through the `if:` guards in `ci.yml` — but the
reason is gone: the packages used to build against a core that existed on an internal registry
alone, and since 2026-09-22 they resolve `@green-tea/core` from npmjs.org like anyone else.
Removing those guards is unblocked rather than done, and until it happens the mirrored repository
carries workflows that skip every job.
**CI runs on both forges, and `contrib` is one of the branches it watches.** It used to be guarded
to the development forge, because the packages built against a core that existed only on an
internal registry a public runner cannot reach; they resolve `@green-tea/core` from npmjs.org now,
so the guards are gone.
Adding `contrib` to the mirror without adding it to `ci.yml` would have been worse than not having
the branch. A pull request against a branch a workflow does not list triggers **nothing** — not a
reduced set of checks, none — so a contributor would see no signal and neither would whoever merged
it. The two changes belong together.
GitHub does not run workflows on pull requests from forks until a maintainer approves them, so a
contributor's first push may sit with no checks for a while. That is not a rejection, and it is
worth saying so rather than letting silence read as one.
## The plugin convention