Migrate CI/CD from GitHub Actions to Forgejo Actions #1
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "chore/forgejo-actions"
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?
Summary
.github/to.forgejo/so they only run on Forgejo (GitHub ignores.forgejo/)label-subissues.yaml— it relies on GitHub-specific GraphQL API and has no Forgejo equivalentstyfle/cancel-workflow-actionwith nativeconcurrency:block; cancel-in-progress only for non-main branches to avoid interrupting deploys mid-flightuses:to full GitHub URLs (e.g.https://github.com/actions/checkout@v4) to bypass Forgejo's action mirrortype=ghawithtype=registryusing the existing container registrytimeout-minutesto all jobsVariables and secrets required in Forgejo
Secrets (Settings → Actions → Secrets):
REGISTRY_USERNAME,REGISTRY_PASSWORD,DEPLOY_HOST,DEPLOY_PORT,DEPLOY_USER,DEPLOY_KEYVariables (Settings → Actions → Variables):
CONTAINER_REGISTRYTest plan
test,typecheck, andlintjobs should runmain—buildanddeployjobs should also runbuildcachetag to registry