chore(ci): stop naming internal infrastructure in files that go public

`main` is about to be mirrored to a public repository for the first time, so
everything in the tree becomes readable by anyone. Two things in here were
written when only the development forge could see them.

`ci.yml` carried the internal registry's hostname in a step that authenticated
to it — twice. That step is also dead: `.npmrc` no longer points the @green-tea
scope anywhere, and core resolves from npmjs.org. So this removes a published
hostname and an instruction that does nothing, in the same edit.

`AGENTS.md` named the origin by its repository path. Core's public copy says
"Development lives on a private Gitea instance" and stops there, which is the
right level: a reader learns the shape of the workflow without learning where it
lives, and a path they cannot reach tells them nothing anyway.

`promote.yml` keeps saying the forge by name, because core's public copy does and
the two should read alike. Naming the product is not the problem; naming the host
was.

Checked the rest while here: no credentials, no keys, no personal paths or
addresses, no issue templates routing anyone to a forge they cannot open.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
This commit is contained in:
chrnx committed 2026-09-23 11:50:52 -05:00
1 parent fd82d10c2b
commit a3f57e61d9
2 files changed
+16 -21

No files matched your search

+4 -11
View File
@@ -1,8 +1,9 @@
name: CI
# Gitea only, for now. Every package builds against @green-tea/core@26.9.0-beta.2, which exists on
# Verdaccio alone, and a GitHub runner cannot reach Verdaccio. Plan B3 moves the packages to a core on
# npm, removes these guards and adds the GitHub mirror; until then GitHub has no copy to run against.
# Runs on the development forge only, through the `if:` guards below. The reason they were added is
# gone — the packages used to build against a core that existed on an internal registry, and now
# resolve it from npmjs.org like anyone else — so lifting them is unblocked. Until that happens, the
# public mirror carries this file with every job skipped.
on:
push:
branches: [develop, main]
@@ -45,10 +46,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Authenticate to Verdaccio
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }}
run: npm config set //npm.svc.zoit.services/:_authToken "$NODE_AUTH_TOKEN"
- run: npm ci
- run: npm run lint
- run: npm run format:check
@@ -73,10 +70,6 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '22'
- name: Authenticate to Verdaccio
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH }}
run: npm config set //npm.svc.zoit.services/:_authToken "$NODE_AUTH_TOKEN"
- run: npm ci
- if: matrix.runtime == 'deno'
uses: denoland/setup-deno@v2
+12 -10
View File
@@ -24,17 +24,18 @@ Run all of them before proposing anything as finished. CI runs each one and each
## Two forges
Gitea `Green-Tea/plugins` is the origin. `develop` and `main` are protected; everything lands through
a pull request.
Development lives on a private Gitea instance. GitHub is a downstream mirror that receives `main`
and nothing else. On the development forge `develop` and `main` are protected; everything lands
through a pull request.
```
feature/* → develop → main → [promote.yml] → GitHub main
```
`promote.yml` runs on Gitea only and mirrors `main`, and nothing else. Feature branches and
`develop` stay private, which is why this is a workflow rather than Gitea's push-mirror — that
would expose every branch. The push is never forced: a refusal means GitHub `main` holds commits
Gitea `main` does not, and that is a question to answer, not an obstacle to remove.
`promote.yml` runs on the development forge only. Feature branches and `develop` stay private,
which is why this is a workflow rather than a push-mirror — that would expose every branch. The
push is never forced: a refusal means GitHub `main` holds commits the source `main` does not, and
that is a question to answer, not an obstacle to remove.
There is **no `contrib` branch** here, unlike core. This repository has no documented flow for
outside contributions yet, so there is nothing for a second mirrored branch to serve. Add one when
@@ -44,10 +45,11 @@ that flow exists rather than shipping a branch nobody targets.
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 Gitea only, through the `if:` guards in `ci.yml` — but the reason is gone:
`@green-tea/core@26.9.0-beta.2` shipped to npmjs.org on 2026-09-22, so the packages no longer need
Verdaccio and a GitHub runner can resolve them. Removing those guards is unblocked rather than done,
and until it happens the mirrored repository carries workflows that skip every job.
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.
## The plugin convention