Files
plugins/.github/workflows
chrnx 51c54c1cc4
CI / dco (pull_request) Successful in 5s
CI / build (pull_request) Successful in 13s
CI / runtimes (bun) (pull_request) Successful in 12s
CI / runtimes (deno) (pull_request) Successful in 12s
CI / runtimes (edge) (pull_request) Successful in 9s
ci(plugins): mirror Gitea main to GitHub main
The public repository exists but nothing populates it. This is the same
promotion core uses, cut down to what this repository actually has: one branch.

Only `main`, and no `contrib` counterpart. Core mirrors `develop` as `contrib`
because outside contributions land there, and that flow is documented. Here it
is not, so a second mirrored branch would be a branch nobody targets.

Tags stay off the push, `--tags` included. Core's reason was that the same tag
means one thing on each forge; here it is simpler and sharper — these packages
publish to JSR, and a JSR version can never be replaced or removed, so a tag must
never reach the public forge as a side effect of promoting a branch.

The push is not forced, and the step fails early with a readable message when
GH_PROMOTE_TOKEN is missing rather than building a remote URL with an empty
credential and failing on the push with an authentication error instead. The
secret is set on this repository; the guard is for whoever forks or rebuilds it.

Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
2026-09-23 11:41:25 -05:00
..