GitHub Integration
Connect Overcut to your GitHub repositories and issues to seamlessly integrate source code management and project tracking into your workflows. Once connected, agents can discover your GitHub repositories, work with code directly, and manage issues and pull requests.What You Can Do
With GitHub connected, Overcut agents can:- Access Repositories: Clone, read, and modify code in your GitHub repositories
- Manage Issues: Create, update, and comment on GitHub issues
- Handle Pull Requests: Review, comment on, and manage pull requests
- Code Operations: Clone repositories, create branches, and perform git operations
- Webhook Triggers: Automatically start workflows based on GitHub events
- Repository Configuration: Configure agent behavior per repository
Prerequisites
- A GitHub account with access to repositories you want to connect
- Admin permissions to install GitHub Apps in your repositories or organization
- An active Overcut workspace
Setup
1
Start GitHub Connection
In your Overcut workspace, go to Integrations and click Connect GitHub.
2
Install the Overcut GitHub App
Click Connect to be redirected to GitHub. Choose whether to install the app for your personal account or specific organizations. Grant the necessary permissions for repositories and issues.
3
Select Repositories
Choose which repositories the Overcut app should have access to. You can select all repositories or specific ones based on your needs.
4
Complete the Setup
After installing the app and selecting repositories, you’ll be redirected back to Overcut. The connection will be established and you can start using GitHub in your workflows.
Using GitHub in Your Workflows
Once connected, GitHub repositories will appear as available sources when you:- Add a Source to a workflow
- Configure a Trigger that monitors GitHub events
- Set up Actions that work with code or issues
Example Workflows
- Code Review Automation: Automatically review pull requests and provide feedback
- Issue Triage: Convert GitHub issues to structured tasks or create follow-up tickets
- Documentation Updates: Keep documentation in sync with code changes
- Release Management: Track all issues and PRs related to a specific release
- Bug Investigation: Clone repositories and analyze code to understand reported issues
For workflows that need to automatically identify which code repositories are most relevant to GitHub issues, consider using the
repo.identify
action. This action uses AI-powered analysis and repository correlations to determine the best repositories to work with for each issue. Learn more in our Repository Mapping guide.Working with Repositories
Cloning Code
Agents can clone GitHub repositories using thegit.clone
action:
Repository Configuration
Each connected repository exposes a Configuration panel where workspace admins can override agent behavior:Setting | Default | Purpose |
---|---|---|
Agent image | (workspace default) | Override the Docker image used to run agents |
Enable cache | false | Persist build artefacts to speed up subsequent runs |
Cache dependencies | false | Include dependency directories (e.g., node_modules ) |
Tools | [] | Define repo-specific commands like lint , test , install |
Custom instructions | null | Inject additional workflow steps (YAML/Markdown) |
Working with Issues and Pull Requests
GitHub Issues
Agents can work with GitHub issues through:- Issue Creation: Create new issues with descriptions, assignees, and labels
- Issue Updates: Modify existing issues and change their status
- Comments: Leave comments on issues with rich text formatting
- Label Management: Add, remove, and manage issue labels
- Assignee Management: Assign and unassign team members
Pull Requests
Agents can handle pull requests by:- Code Review: Analyze code changes and provide feedback
- Comment Integration: Add inline and general comments on PRs
- Status Updates: Track PR lifecycle from creation to merge
- Automated Checks: Run tests, linting, and validation
Webhook Triggers
GitHub integration enables automatic workflow triggers based on repository events:Issue Events
issue_opened
- Issue was createdissue_closed
- Issue was closedissue_edited
- Title or body changedissue_assigned
- Assignee addedissue_unassigned
- Assignee removedissue_labeled
- Label was addedissue_unlabeled
- Label was removedissue_commented
- New comment was posted
Pull Request Events
pull_request_opened
- Pull request was openedpull_request_closed
- Pull request was closed without mergepull_request_merged
- Pull request was merged into basepull_request_edited
- Title or description of PR was changedpull_request_reviewed
- A review was submittedpull_request_commented
- A comment was posted on the PR
Slash Commands
Trigger workflows manually using slash commands in GitHub comments:- Use
@overcut /command
in issue or PR comments - Commands execute immediately for responsive user experience
- Works across all platforms—GitHub, Jira, GitLab, and more
Permissions
The Overcut GitHub App requests the following permissions:Repository Access
- Contents: Read and write access to repository code
- Issues: Read and write access to issues and comments
- Pull Requests: Read and write access to pull requests and reviews
- Metadata: Read access to repository metadata
Organization Access
- Members: Read access to organization members (for assignment features)
- Organization: Read access to organization information
Advanced Features
Sparse Checkout
For large repositories, use sparse checkout to focus on specific components:Partial Cloning
Optimize cloning performance with partial clone filters:Troubleshooting
Connection Issues
- Ensure you have admin permissions in your GitHub organization
- Try disconnecting and reconnecting the integration
- Check that your GitHub account is accessible and not rate-limited
Permission Errors
- Verify the Overcut app has the necessary permissions in GitHub
- Check that you’re trying to access repositories you have access to
- Ensure your GitHub user account has appropriate permissions
Missing Repositories
- The integration only shows repositories you have access to
- Check your GitHub user permissions for specific repositories
- Verify the repository names are correctly configured
Webhook Issues
- Ensure webhooks are properly configured in your GitHub repositories
- Check that the Overcut app has webhook permissions
- Verify webhook URLs are accessible from GitHub’s servers
Getting Help
If you encounter issues with the GitHub integration:- Check the troubleshooting section above
- Review your GitHub permissions and repository access
- Contact Overcut support with specific error messages
- Ensure your GitHub account is active and accessible
- Check GitHub’s status page for any service issues
Best Practices
Repository Organization
- Use consistent naming conventions for repositories
- Organize repositories by team or project
- Set up branch protection rules for important branches
Workflow Design
- Start with simple triggers and gradually add complexity
- Use delays for issue/PR creation to allow complete context
- Test workflows in development repositories first
Security Considerations
- Regularly review app permissions and repository access
- Use organization-level installations for team-wide access
- Monitor workflow execution logs for unexpected behavior