Platform compatibility
1. Translate concepts
| Concept | GitHub Actions | Gitea Actions | GitLab CI |
|---|---|---|---|
| Workflow files | .github/workflows/ | .gitea/workflows/ | Root .gitlab-ci.yml |
| Events and filtering | on with event filters | on with version-dependent behavior | workflow: rules and job rules |
| Runner selection | Hosted labels or self-hosted runner labels and groups | Label mapping registered by your runner | Runner tags and executor configuration |
| Job dependencies | needs | needs | needs and stages |
| Matrix | strategy.matrix | Verify expression and matrix behavior on your instance | parallel: matrix |
| Artifact transfer | Paired upload and download actions | Match the runner's artifact protocol and action pair | artifacts and needs:artifacts |
| Deployment gates | Environment deployment protection rules depend on plan and configuration | The documented environment job property is ignored | Protected environments and deployment approvals depend on tier |
| OCI publishing | GHCR with appropriate GITHUB_TOKEN package access | Dedicated package-write credential such as a narrowly scoped PAT | GitLab registry and an appropriate job or deploy credential |
| Reuse | Called workflow, composite action | Verify against the installed instance and action source | include, components or shared job templates |
2. Record the installed Gitea baseline
- Record Gitea server version and the runner binary or image version from the runner's startup log.
- Confirm the exact label mapping, host or container mode, image, Git and Node availability with G01.
- Verify actions can clone from the intended source. Inspect checkout logs when an alias selects an unexpected host.
- Run G04 and G05 independently. Their endpoints and action compatibility depend on runner generation and settings.
- Restrict untrusted jobs to an isolated runner. Keep deployment and Docker daemon access on dedicated trusted runners.
3. Review settings outside YAML
- Branch protection, registry access, runner groups and staging rules are configured on the platform or service.
- Provider documentation for GitHub-hosted features applies to GitHub.com. For GitHub Enterprise Server, use version-specific documentation. The upstream artifact action documentation tracks differences in supported artifact versions.
- Validate manual inputs and use an approved branch plus environment or an equivalent external approval mechanism when porting a deployment.
References · Gitea comparison, Gitea runner caching, GitHub environments, GitLab deployment approvals.