OmniRush Work docs

GitHub

Connect GitHub and install the OmniRush app on your organizations. OmniRush reads issues, pull requests and docs, and the agent comments and opens issues only after you approve.

Connects with
GitHub sign-in and the OmniRush GitHub App
Who connects
Each person. An owner installs the app on each GitHub organization
Reads
Issues, pull requests, comments and docs files in repositories where the app is installed
Acts
Comments and creates issues after you approve
Admin approval
An owner of each GitHub organization installs the app
On this page
  1. What OmniRush reads
  2. What the agent can do
  3. Connect GitHub
  4. Install the app on an organization
  5. The not-installed notice
  6. Permissions
  7. For admins
  8. Disconnect and remove data
  9. Troubleshooting

What OmniRush reads

OmniRush reads a repository only when the OmniRush app is installed on it and your GitHub account can reach it. A repository the app isn't installed on stays out of Work, even if your account can open it.

  • Issues and pull requests, open and closed, with their labels, milestone, assignees and up to 100 comments each.
  • Docs files on the default branch: Markdown, text, reStructuredText and AsciiDoc files, plus README, CHANGELOG and CONTRIBUTING files. Up to 200 per repository, 1 MB each.
  • Up to 1,000 repositories, most recently pushed first.

The first sync reads each repository's full issue and pull request history. After that, OmniRush reads updated items about every 10 minutes, and reads docs again after a push.

Pull requests that request your review show under Needs you in Today as Review requested. So do issues and pull requests that mentioned you in the last 3 days.

What the agent can do

ActionWhat it does
Search GitHubSearches issues, pull requests or code with GitHub search syntax, for example repo:acme/app refund.
Read an issue, pull request or fileReads an issue or pull request with its comments, or a file by its path.
Add a commentAsks firstComments on an issue or pull request in Markdown, under your name.
Create an issueAsks firstCreates an issue in a repository, with labels if you name them.

Each comment and new issue shows an approval card first, unless you turned on Allow all writes (stop asking) on the Automation page. See Approvals.

Comments go on a pull request's conversation. The agent doesn't leave review comments on lines of code.

In the side panel, an issue or pull request has Comment. When you click it yourself, the click is your approval.

A GitHub pull request in the side panel.

Connect GitHub

Connecting takes two parts: you sign in to GitHub, then the OmniRush app is installed where your repositories live.

  1. Open Connectors

    In the Work sidebar, click + (Add a connector) next to Connectors.

  2. Click Connect on the GitHub row

    Your browser opens GitHub, and the row shows Waiting for sign-in…

  3. Authorize the app

    GitHub asks you to authorize the OmniRush app. Authorize it.

  4. Open the install step

    The browser shows Connected and "One more step: choose what OmniRush can see." Click that link.

  5. Install the app

    On GitHub, pick your account or an organization, choose all repositories or only some, and install.

  6. Go back to the app

    Close the tab. The row shows Syncing, then Synced.

To add another organization later, open the menu on the GitHub row and click Choose repositories. During setup, the connect step shows Install on another organization under GitHub.

The connect step of setup, with Install on another organization under GitHub.

Install the app on an organization

Only an owner of a GitHub organization can install the app on it. Members can connect at any time, and see the organization's repositories once an owner installs the app.

An owner can give the app all repositories or a chosen list. To change the list later, the owner edits the app's installation in the organization's GitHub settings.

The not-installed notice

When you open an issue or pull request from an organization without the app, the side panel turns off Comment and says OmniRush isn't installed on account in GitHub. Ask an owner of account to install it. Install on GitHub opens the install page to send to an owner.

The side panel when the OmniRush app isn't installed on the organization.

If the app is installed without write access to issues, the panel says OmniRush can't comment in repository. Ask an owner of account to accept OmniRush's permissions in GitHub. The button opens the organization's settings for the app.

Permissions

A GitHub App doesn't use OAuth scopes. Its permissions are set on the app, and GitHub shows them when an owner installs it.

metadata:read
Lists the repositories the app is installed on.
contents:read
Reads docs files and other files, and runs code search.
issues:write
Reads issues and comments. Writes only when you approve a comment or a new issue.
pull_requests:write
Reads pull requests, and lets an approved comment post on a pull request.

Your GitHub sign-in token lasts 8 hours and renews on its own, so you don't sign in again.

For admins

Each person connects their own GitHub account. A connection sees only the repositories that person can reach where the app is installed, and nobody else in your company sees them.

Installing the app is the one step a GitHub organization owner does, once per organization. Until then, members see the not-installed notice. More on company-level approvals is in Company-wide connections.

To hide GitHub from your team, open Connectors in the admin portal and turn off the switch on the GitHub row. Existing connections pause and keep their data, as Team tools explains.

Disconnect and remove data

  1. Open Connectors in the desktop app.
  2. Open the menu on the GitHub row and click Disconnect.
  3. Confirm with Disconnect.

OmniRush revokes your authorization of the app at GitHub, deletes its token and stops syncing. If another OmniRush Work account uses the same GitHub account, the authorization stays so that account keeps working.

Disconnecting doesn't uninstall the app from your organizations. An owner uninstalls it in the organization's GitHub settings.

Items already synced stay in Knowledge and search. To have them deleted, email [email protected]. See the Privacy Policy.

Troubleshooting

What you seeWhat to do
The row says GitHub sees no repositoriesClick Open setup and install the app on your account or an organization.
Nothing to read yet. Choose repositories to pick what OmniRush can see.Click Choose repositories and install the app on the repositories you need.
OmniRush isn't installed on account in GitHub. Ask an owner of account to install it.Send Install on GitHub to an owner of that organization.
OmniRush can't reach owner/repository. Ask an owner of account to add this repository to OmniRush in GitHub.The app is installed on chosen repositories only. An owner adds this one in the app's installation settings.
That conversation is locked.The issue or pull request is locked on GitHub. Ask a maintainer of the repository to reopen the conversation.
GitHub needs reconnecting. Sync stopped and results may be out of date.Your authorization was revoked in GitHub. Click Reconnect and authorize again.
Not connected, with "The sign-in was refused reason. If your organisation restricts third-party apps, an administrator may need to approve OmniRush first."Ask an owner of the organization to allow the OmniRush app, then connect again.