chore!: purge Gitea artifacts; Forgejo-native shared workflows #7
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/forgejo-purge"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Part of the full Gitea purge.
.gitea/workflows→.forgejo/workflows. Breaking: callers must referencejohn/release/.forgejo/workflows/<name>.yml@main(per-repo PRs follow).on.workflow_call.secrets(Forgejo rejects it → 0s failed run on every push here). Shared jobs use their owngithub.token.GITEA_SERVER/GITEA_REPOSITORY→FORGEJO_SERVER_URL/FORGEJO_REPOSITORY;scripts/gitea.py→scripts/forge.py.code.yawn.dev/john/runner-images:ubuntu-24.04(digest-identical mirrorsha256:139605d4a6ab…, anonymous pull verified).Local: 84 tests OK (1 skipped); jobparser accepts all 5 workflows.
- Workflows move .gitea/workflows -> .forgejo/workflows (Forgejo reads .forgejo first). Callers must update their uses: paths to john/release/.forgejo/workflows/<name>.yml@main. - Drop on.workflow_call.secrets: Forgejo rejects the key ("workflow_call only supports keys inputs and outputs"), which made every push to this repo record a 0s failed run. Shared jobs use their own github.token; optional secrets (ntfy_*) are still mapped by callers. - Env contract GITEA_SERVER/GITEA_REPOSITORY -> FORGEJO_SERVER_URL/ FORGEJO_REPOSITORY; scripts/gitea.py -> scripts/forge.py (class Forge). - Job image docker.gitea.com/runner-images:ubuntu-24.04 -> code.yawn.dev/john/runner-images:ubuntu-24.04 (digest-identical mirror, sha256:139605d4a6ab). - CI parses every workflow with Forgejo's runner jobparser (v13.2.0) so a workflow Forgejo would reject fails here first. BREAKING: callers referencing john/release/.gitea/workflows/* or passing secrets.token break until migrated (per-repo PRs follow).