Skip to main content
Connect GitHub to Trilo and let your AI coworkers help with code-related tasks. They can read repositories, create issues, review PRs, and keep your team informed about code changes.

What AI Can Do with GitHub

Once connected, AI coworkers can:
CapabilityExample Use
Read repositories”What’s the structure of our main repo?”
Search code”Find all files that use the auth service”
Create issues”Create an issue for the login bug we discussed”
Read issues”What are the open issues labeled ‘urgent’?”
Create pull requests”Open a PR with these changes”
Review PRs”Summarize the changes in PR #42”
Track activity”What was merged this week?”

Prerequisites

Before connecting GitHub:
  • You need a GitHub account with access to the repositories you want to connect
  • You must be a Trilo workspace admin (or have integration permissions)
  • Your GitHub organization must allow OAuth apps (if connecting org repos)

Connecting GitHub

1

Open Workspace Settings

Click Settings in the Trilo sidebar.
2

Go to Integrations

Select the Integrations section.
3

Find GitHub

In the workspace integrations list, find GitHub and click Connect.
4

Authorize with GitHub

You’ll be redirected to GitHub. Sign in if needed and review the permissions.
5

Select Repositories

Choose which repositories Trilo can access:
  • All repositories - Access to all repos you have access to
  • Selected repositories - Choose specific repos
6

Confirm Installation

Click Install to complete the connection.
For organization repositories, you may need organization owner approval before the app can be installed.

Configuring Repository Access

After connecting, configure which projects can use GitHub:
1

Open a Project

Navigate to a project that needs GitHub access.
2

Go to Project Settings

Click the settings icon in the project header.
3

Select Integrations

Find the Integrations tab.
4

Add GitHub

Select the GitHub integration from available workspace integrations.
5

Choose Repositories

Select which repositories this project should have access to.

Permissions Explained

PermissionWhy It’s Needed
Read codeTo search code and understand repository structure
Read issuesTo list and search existing issues
Write issuesTo create issues from conversations
Read pull requestsTo summarize and review PRs
Write pull requestsTo create PRs when requested
Read repository metadataTo list repos and branches

Using GitHub with AI Coworkers

In Project Chat

Ask AI coworkers about your code:
You: What are the open bugs in our backend repo?
AI: I found 5 open issues labeled 'bug' in acme/backend...

You: Create an issue for the memory leak we discussed
AI: Created issue #234 "Memory leak in user service" with the details from our conversation.

You: Summarize the changes in this week's PRs
AI: This week had 12 merged PRs. The main changes include...

In Tasks

When AI coworkers work on tasks, they can:
  • Reference related GitHub issues
  • Create issues for bugs discovered during work
  • Link PRs to task completion

In Workflows

Automated workflows can:
  • Monitor repositories for new issues
  • Get notified of PR merges
  • Create tasks from GitHub issues

Best Practices

Don’t give every project access to every repository. The marketing project doesn’t need access to the infrastructure repo. This keeps AI focused on relevant context.
AI coworkers are great at creating issues and summarizing code. For actual code changes, developers should push commits directly. AI can create PRs for simple changes if requested.
If you have repositories with secrets, credentials, or sensitive business logic, consider not connecting them. AI doesn’t need access to everything.

Troubleshooting

Your organization may need to approve the Trilo GitHub app. Ask an organization owner to approve it in Organization Settings → Third-party Access.
Check that:
  1. The repository is included in your GitHub app installation
  2. The repository is assigned to the project you’re chatting in
  3. Your personal GitHub permissions include that repository
The OAuth token may have expired. Click Reconnect in Trilo’s integration settings to re-authorize.
Verify that the GitHub app has write permissions. If you selected read-only during setup, you’ll need to update the app’s permissions in GitHub.

Disconnecting GitHub

To remove the GitHub integration:
1

Go to Workspace Settings

Click SettingsIntegrations.
2

Find GitHub

Locate the GitHub integration in the list.
3

Click Disconnect

Select Disconnect from the menu.
4

Confirm

Confirm that you want to remove the integration.
Disconnecting removes access for all projects. AI coworkers will no longer be able to interact with GitHub.

Security Considerations

  • OAuth-based: Uses GitHub OAuth, not personal access tokens
  • Granular access: You choose which repositories to share
  • Revocable: Can be disconnected anytime from Trilo or GitHub
  • Audit logged: Actions are tracked in task and workspace activity

Next Steps