Prepare the repository to be public: scrub infrastructure, add community files #8

Merged
chrnx merged 3 commits from chore/scrub-before-publish into develop 2026-09-23 17:01:07 +00:00
2 changed files with 16 additions and 21 deletions
Showing only changes of commit a3f57e61d9 - Show all commits

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