Features
- Scan for TODO comments in your codebase
- Scan for security issues
- Scan for performance issues
- Scan for technical debt
- Scan for refactoring opportunities
- Automatically fix failed workflows and CI/CD pipelines
- Respond to PR comments and review feedback
Installation
1
Install
Navigate to the Integrations page in Tembo and click the
Install button next to GitHub.2
Authorize
Authorize Tembo to access your GitHub account. You can select specific repositories or all repositories. You’ll be redirected back to the Integrations page when complete.
3
Activate Repositories
After syncing completes (may take a few minutes), select which repositories you want Tembo to scan under “Active Repositories” on the Integrations page.Only repositories you activate here will be scanned for issues and receive improvement PRs.Tip: If repositories don’t appear after a few minutes, use the sync button on the Integrations page to manually trigger a refresh.
Managing Your Integration
Manual Sync
If you’ve added new repositories to your GitHub account or modified repository permissions, you can manually sync to refresh the list:- Navigate to the Integrations page
- Find the GitHub integration card
- Click the sync button (circular arrow icon)
- Wait for the sync to complete - the button will show a loading indicator while syncing
Supported Webhooks
Tembo listens to the following GitHub events and maps them to automation triggers (reference them asgithub.<event> in your triggerName, e.g., github.pull_request.opened). Tembo subscribes only to the events listed here (not every GitHub webhook). The Integrations page in the app shows the live set enabled for your org. If you need an additional event (for example, tag creation), contact support@tembo.io.
pull_request.openedpull_request.closedpull_request.reopenedpull_request.ready_for_reviewpull_request.converted_to_draftpull_request.editedpull_request_review.submittedissue_comment.createdinstallation.createdinstallation.deletedinstallation.new_permissions_acceptedinstallation_repositories.addedinstallation_repositories.removed
Usage
Automated Scanning
Once you’ve activated repositories, Tembo automatically scans for:- TODO Comments - Finds and implements requested functionality from TODO items
- Security Issues - Identifies potential security vulnerabilities in your code
- Performance Issues - Detects slow queries, inefficient algorithms, and optimization opportunities
- Technical Debt - Discovers areas that need refactoring or modernization
- Code Quality - Spots potential bugs, unused code, and anti-patterns
Pull Requests
When Tembo finds an issue it can address, it will:- Create a Pull Request - Opens a PR with the proposed fix or improvement
- Add Context - Includes a detailed description of what was changed and why
- Request Review - Assigns the PR for team review following your repository’s workflow
Working with Pull Requests
Reviewing Pull Requests
Review Tembo’s PRs just like any other team member’s work:- Examine the changes and verify they align with your requirements
- Leave comments directly on the code if you need changes
- Use the Feedback Loop feature to have Tembo address your review comments automatically
Commenting on PRs
When reviewing Tembo’s pull requests, you can request changes or improvements by tagging@tembo in your comments. This ensures Tembo responds to your specific feedback while ignoring internal team discussions or comments directed at other team members.
Example:
@tembo tag, Tembo will not respond to the comment, allowing for cleaner team communication.
Failed Workflow Detection
Tembo automatically monitors your GitHub Actions workflows and detects when they fail. When a workflow fails due to broken tests, linting errors, or other issues, Tembo will analyze the failure, identify the root cause, and create a PR with a fix. This helps maintain a healthy CI/CD pipeline without manual intervention.Best Practices
- Configure repository settings to match your team’s preferences
- Use Rule Files to help Tembo understand your coding standards
- Set up Hooks to customize Tembo’s behavior for your workflow