ci: add GitHub PR pipeline and advisory AI review

Merged
GR
5mo ago
+1732-37

Summary

Adds the GitHub PR pipeline and repository governance setup on top of the Node 18/pnpm runtime migration.

What changed

  • Split required CI into lint, build, and unit jobs.
  • Add non-blocking E2E workflow.
  • Add conventional PR title validation.
  • Add CodeRabbit and Cubic advisory review configuration.
  • Add CODEOWNERS, PR/issue templates, CONTRIBUTING, Dependabot, and manual GitHub UI checklist.

Testing

  • pnpm install --frozen-lockfile
  • pnpm run prettier:check
  • pnpm run pwa:build
  • pnpm run web-extension:build
  • pnpm run server:start-dry
  • pnpm -r run test

Summary by cubic

Sets up a GitHub PR pipeline with split required checks, a non-blocking E2E workflow, PR title validation, and repository governance. Improves PR speed and reliability, adds advisory CodeRabbit/Cubic reviews, Dependabot updates, and enforces an English‑only policy.

  • New Features

    • Split CI into lint, build, and unit jobs (ci.yml) with a translation extract dirty‑tree check; removed run-tests.yml.
    • E2E workflow (manual/nightly or e2e label); non-blocking.
    • Conventional PR title validation via amannn/action-semantic-pull-request.
    • CI uses Node from .nvmrc and the pnpm version from package.json packageManager.
    • Advisory reviewer configs for CodeRabbit (.coderabbit.yaml) and Cubic (cubic.yaml) with path filters.
    • Repo scaffolding: CODEOWNERS, PR/issue templates, Dependabot, AGENTS.md (English-only), and CONTRIBUTING.md with setup plus translation extract dirty‑tree guidance.
  • Migration

    • In GitHub settings, protect main and require: lint, build, unit, and PR Title.
    • Install CodeRabbit and Cubic apps for this repo.
    • Prefer squash merges; disable merge/rebase if desired.

Summary by CodeRabbit

  • New Features

    • Added standardized pull request and issue templates to make reporting bugs and requesting features easier.
    • Introduced automated checks for pull request titles and review workflows.
  • Bug Fixes

    • Improved continuous integration coverage with build, lint, unit, and end-to-end test runs.
    • Added safeguards to catch missing translations during validation.
  • Documentation

    • Expanded contributor guidance and repository instructions for a clearer contribution process.