This directory holds the Codebloom infrastructure code. That includes workflows & composite actions directly interfacing with GitHub Actions as well as scripts written in TypeScript and Bun Shell to handle more complex logic.
View .github/scripts which includes it's own documentation
.github/workflows
├── ai-command.yml # wrapper that allows us to type /ai to run all AI agent commands at once
├── ai-review.yml # Qodo review agent (includes custom logic to inject Notion task context to AI agent)
├── approval.yml # DEPRECATED - used to handle custom approval rules not natively supported by GitHub
├── ci-cd.yml # Main CI/CD pipeline that runs tests, builds images, triggers deployments, and more.
├── copy-db.yml # command to copy prod db to staging db
├── deploy-stg.yml # command to deploy to staging
├── help-command.yml # one-time command on PR launch to show all available slash commands
├── pr-verifications.yml # validates PR & commits against Notion
└── slash.yml # helper workflow to trigger slash command invocations to the right workflow
Note
Every PR now includes an automatic action that will publish the list of all slash commands. As such, this section may be out of date and deprecated soon.
All PRs must be tested in our staging environment to make sure that it won't break anything (if there's a reason it cannot be tested in staging, it must be indicated in the PR description).
To trigger deployment to staging, you just have to comment /deploy as a comment in the PR.
Note
It should be a regular comment inside of the first page of the PR; writing the command as a review on a file or line(s) will not trigger deployment.
The following slash commands can be used in PR comments to trigger AI-powered code review:
| Command | Description |
|---|---|
/ai |
Triggers all AI review commands (/review, /describe, /improve) at once |
/review |
Triggers an AI review of the PR changes |
/describe |
Generates an AI-powered description of the PR |
/improve |
Provides AI-powered suggestions |
These commands use Qodo PR-Agent and integrate with Notion to include task context in reviews.