CI/CD

Lokalio is designed to run in CI. On every push, it detects changed translation keys, sends them to the AI, and opens a pull request with the results.

Platform Support

PlatformIntegrationSetup
GitHubComposite Action (lokalio/action@v1)Automated via lokalio init
GitLabDirect CLI invocationAutomated via lokalio init

How It Works

  1. A push triggers the CI workflow
  2. The workflow checks out the repo with full git history
  3. Lokalio detects the commit range (before..HEAD)
  4. Changed keys are extracted and sent to the API
  5. Translations are written back to target files
  6. Results are force-pushed to a dedicated translation branch
  7. A pull request is opened (or updated if one already exists)

The translation branch is named lokalio/<source-branch-slug>. Commits include [skip ci] to prevent re-triggering the workflow and are authored as lokalio[bot] <bot@lokalio.dev>.