CI/CD Actions
OpenCodeHub supports GitHub Actions–style workflows defined in .github/workflows/*.yml.
Example workflow
Section titled “Example workflow”name: CIon: [push, pull_request]jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - run: npm install - run: npm testView runs
Section titled “View runs”- Global runs:
/actions - Repo runs:
/owner/repo/actions
Runner settings
Section titled “Runner settings”Set these environment flags to enable runners:
RUNNER_ENABLED=trueRUNNER_DOCKER_SOCKET=/var/run/docker.sockRUNNER_CONCURRENT_JOBS=2RUNNER_TIMEOUT=3600And ensure actions are enabled:
ENABLE_ACTIONS=trueCLI workflows
Section titled “CLI workflows”och ci list --branch mainoch ci view <run-id> --jobsoch ci trace <job-id> --follow