GitRabbit
Connecting
🐇 GitRabbit v2 is under construction
WORKFLOW PIPELINES

CUSTOM WORKFLOWS & AUTOMATION

Define review conditions, automated approvals, and routing gates.

GitRabbit Custom Workflows allow you to adapt review actions based on metadata like files changed, branch name, or PR size. Send structural changes (e.g., database schema modifications) to senior engineers, auto-approve documentation fixes, and trigger deep static testing for code targeting production.

Key_Capabilities

Conditional Review Gates

Change review filters and models depending on which directory has modifications.

Automated Merging

Configure safe branches (like translation updates) to auto-merge when GitRabbit confirms zero style or security issues.

Reviewer Assignee Mapping

Automatically assign the correct human reviewers based on the impact scope evaluated by the AI summary.

Setup_Sequence

1
Step 01

Open Workflows Panel

Access repository Settings in the GitRabbit dashboard and choose Custom Workflows.

2
Step 02

Create a Trigger Rule

Specify files or author targets (e.g., changes to 'db/**/*.sql').

3
Step 03

Define Actions

Select options such as adding specific labels, assigning reviews, or requesting secondary approvals.

Code_Example

.gitrabbit/workflows.yml structure
# Custom Review Pipelines
workflows:
  - name: "Database Protections"
    trigger:
      files: ["db/**/*.sql", "models/**/*.ts"]
    actions:
      - add_labels: ["database", "needs-migration-audit"]
      - request_reviewers: ["senior-dba-team"]
      - severity_override: strict

  - name: "Auto-Approve Docs"
    trigger:
      files: ["**/*.md", "docs/**/*"]
    actions:
      - auto_approve: true
      - auto_merge: false

Pro_Tips

  • Set up an auto-approve workflow for translations (.json files) to speed up localization pipelines.
  • Ensure workflows are tested on staging branches before applying them to critical release structures.
Review AnalyticsIDE Integration