Repository Settings
Customize how Jasper reviews each of your repositories.
Accessing Settings
- Sign in to the Jasper dashboard
- Navigate to Repositories
- Click on the repository you want to configure
- Select the Settings tab
Available Settings
Automatic Reviews
Control when Jasper automatically reviews pull requests:
- Enabled - Review all PRs automatically (default)
- Disabled - Only review when manually triggered
Review Triggers
Choose which events trigger a review:
- On PR open - Review when PR is created
- On push - Review when new commits are pushed
- On reopen - Review when a closed PR is reopened
File Filters
Include or exclude specific files from review:
# Exclude patterns
*.md
*.txt
tests/**
docs/**
# Include only specific patterns
src/**/*.ts
lib/**/*.js
Branch Protection
Configure which branches should be reviewed:
- All branches - Review PRs targeting any branch
- Protected branches only - Only review PRs to main/master
- Custom pattern - Specify branch patterns
Repository AI Guidelines
Customize how Jasper reviews your code by adding project-specific guidelines. Jasper supports the AGENTS.md standard and similar AI instruction files.
Supported Files
Jasper checks for these files in order of priority:
AGENTS.md- The recommended standard.github/AGENTS.md- GitHub convention location.github/copilot-instructions.md- GitHub Copilot format.jasper.md- Jasper-specific format
How It Works
When enabled, the contents of your AI guidelines file are automatically included in every code review prompt. This lets you define:
- Coding standards and conventions
- Architectural decisions and patterns
- Areas requiring extra scrutiny
- Project-specific rules and requirements
Example AGENTS.md
## Code Review Guidelines
- Follow PSR-12 coding standards
- All public methods need docblocks
- Flag any raw SQL queries
- Ensure proper error handling
- Check for security vulnerabilities
## Architecture
- Use repository pattern for data access
- Controllers should be thin
- Business logic belongs in services
Managing AI Guidelines
In the repository settings, you can:
- Scan - Check your repository for AI guidelines files
- Re-sync - Refresh the cached content from GitHub
- Toggle - Enable or disable including guidelines in reviews
Content is automatically synced every 24 hours, or you can manually refresh at any time.
Quality Gate Thresholds
Quality gates define minimum standards that PRs must meet. When a review doesn't meet these thresholds, Jasper can automatically request changes or block merging.
Available Thresholds
| Metric | Description |
|---|---|
| Minimum Score | Overall review score (0-100) required to pass |
| Max Critical Issues | Maximum number of critical issues allowed |
| Max High Issues | Maximum number of high-severity issues allowed |
| Max Medium Issues | Maximum number of medium-severity issues allowed |
Inheritance from Organization
Repositories can inherit quality gate thresholds from your organization defaults. To use organization defaults:
- Enable "Use organization defaults" in repository settings
- Any changes to organization thresholds automatically apply
- Override individual settings while keeping others inherited
See Organization Quality Gates for configuring organization-wide defaults.
Default Settings
New repositories inherit settings from your organization defaults. You can configure organization-wide defaults in the organization settings page.
Tags & Organization
Use tags to organize repositories and quickly filter in the dashboard:
- Add tags like "frontend", "backend", "critical"
- Filter reviews by tag in the dashboard
- Group related repositories for easier management