1.7 KiB
1.7 KiB
Forgejo CI Activation Checklist
Use this checklist before turning on a Forgejo-native pipeline for EcoSpecies-Atlas.
1. Confirm Workflow Source
- Decide whether the repository will continue using the fallback
.github/workflows/ci.ymldefinition or activate a dedicated.forgejo/workflows/ci.yml. - If a Forgejo-native workflow is desired, start from
.forgejo/workflows/ci.yml.template.
2. Confirm Runner Labels
- Identify the runner label accepted by the target Forgejo instance.
- Replace the placeholder
runs-on: dockervalues in the template with that label before activation. - Verify that the selected runner can execute both Python and Node-based jobs.
3. Confirm Action Source Policy
- Check whether the Forgejo instance allows GitHub-hosted actions such as
actions/checkout,actions/setup-python, andactions/setup-node. - If remote GitHub-hosted actions are not allowed, replace those
uses:entries with approved internal or mirrored actions.
4. Activate The Workflow
- Copy
.forgejo/workflows/ci.yml.templateto.forgejo/workflows/ci.yml. - Update runner labels.
- Update action references if required by the instance policy.
- Commit the activated workflow.
5. Validate CI Behavior
- Open a test change request and confirm the repository-layer API tests run.
- Confirm the stubbed browser smoke test runs and passes.
- Verify that failures block merges according to the repository-host policy.
6. Optional Hardening
- Require the
CIworkflow before merge. - Mirror or pin all action sources used by the Forgejo workflow.
- Document any instance-specific runner labels or action mirrors in the repository host settings or administrator notes.