Skip to content
86% off$349 $48.86code BF2026

Docs

Sledbot docs30 pages

GitHub in Sledbot: Sign In, Clone, PRs, Issues and CI

Connect Sledbot to GitHub through the gh CLI, clone repos as spaces, and manage pull requests, issues and CI from Code mode. Covers limits and fixes.

Updated 7 min read

On this page

This page shows how to connect Sledbot to GitHub, clone your repositories as spaces, and work with pull requests, issues and CI from the built-in editor.

Before you start

  • The GitHub CLI (gh). Every GitHub feature in Sledbot goes through it. If it isn't installed, Sledbot shows the install command and can run it for you (see below).
  • A local checkout. The GitHub panel, pull requests, issues, CI and review threads work only for folders on this Mac. They don't work for spaces on remote machines.
  • An origin remote on GitHub. If the checkout's origin remote isn't on GitHub, the panel shows "Not a GitHub repository".
  • A licence or an active trial to start agents, for example from an issue or a failed CI run.

How Sledbot connects to GitHub: the gh CLI

Sledbot has no GitHub OAuth app of its own. It signs in, clones repos and talks to GitHub through the official gh CLI, using the account gh is signed in to. In practice:

  • Your GitHub login in Sledbot is the same one gh uses in Terminal.
  • Sledbot copies your gh token in one case only: when you click Use this login for the GitHub integration (see Use your gh login for the GitHub MCP integration).
  • Pull requests, issues, CI and GitHub routine triggers all go from your gh CLI to GitHub.

Install gh and sign in

You can start the connection from any of these places:

  • The Getting started card in the sidebar footer: Connect GitHub.
  • The Connect GitHub / Connect your repos pill on the New task page.
  • The command palette (⌘K, Command-K): Connect GitHub.

If gh isn't installed

  1. Sledbot shows Install GitHub CLI with the command brew install gh.
  2. Click Run in terminal to run it, or Copy to run it yourself. The command needs Homebrew. Without Homebrew, see Other ways to install: cli.github.com.
  3. Let the install finish. If Sledbot checks before Homebrew is done, you see "gh still isn't installed. When Homebrew finishes, check again."

Sign in

  1. Sledbot runs gh auth login --web in an embedded terminal, with the instruction "Follow the GitHub CLI below: press Enter to open github.com, then paste the one-time code it shows."
  2. Press Return in the terminal. Your browser opens github.com.
  3. Paste the one-time code the CLI showed, and finish the sign-in on GitHub.
  4. Sledbot shows Waiting for GitHub… and checks every 2 seconds. When you're connected, the sheet closes by itself and a toast reads "Connected as @yourlogin".

The sheet also has Cancel, Try again and Open in a tab.

Sledbot Connect GitHub sheet with the embedded gh auth login terminal showing a one-time code and Waiting for GitHub

Clone repos as spaces

The Connect your repos sheet ("Signed in to GitHub as @yourlogin") lists your repositories. Open it with ⌘K ▸ Clone a GitHub repo…, or with Clone a repo on the Getting started card.

  1. Use Search repositories or the owner menu to find a repo. The sheet lists up to 200 repos.
  2. Check Clone into. The default is ~/Developer. Change it with Choose folder…, or go back with Reset to ~/Developer.
  3. Choose the repo. Sledbot clones it with gh repo clone and adds it to the sidebar as a space. The row then shows Added.

To clone onto a remote machine instead, use File ▸ New Project… (⇧⌘N, Shift-Command-N), pick the machine, and choose Start with ▸ Clone with an https://… or git@… URL.

Pull requests: filters, checks, merge, check out in a worktree

Switch to Code mode (⇧⌘E, Shift-Command-E), then open the GitHub panel from the GitHub activity tab, View ▸ GitHub, or GitHub ▸ Show Pull Requests and Issues.

  • Filters: Review (the default), Mine, Assigned and Open.
  • Pull request detail: Description, Checks (each with View Log), Reviews, Comments and Files changed.
  • Check Out in Worktree: checks the pull request out into its own worktree instead of your main checkout.
  • Merge…: choose Create a merge commit, Squash and merge or Rebase and merge, and optionally Delete branch <name> after merging. Draft pull requests can't be merged.
Sledbot GitHub panel showing pull request #132 with its checks: one failing WebKit run with View Log, the rest passing

Issues and Start Work on Issue

The Issues list has the filters Assigned, Mentioned, Created and Open.

To start on an issue:

  1. Select the issue and choose Start Work on Issue….
  2. Keep or change the Branch name. The default is issue-<number>.
  3. Turn on Start an agent with the issue as its task if you want an agent to begin right away.

CI status and Ask Agent to Fix

  • The status bar shows a CI <state> badge for the current branch.
  • The runs list shows the branch's runs, or "No runs for this branch." Use View Log to read a run's log.
  • Ask Agent to Fix starts an agent with the failed log as its task. Check its work like any other agent's (see Review an agent's changes).

Create a pull request and review in the editor

Create a pull request

Open GitHub ▸ Create Pull Request… or ⌘K ▸ Create Pull Request….

FieldWhat it does
BaseThe branch the pull request merges into
TitleThe pull request title
DescriptionPrefilled from pull_request_template.md when the repo has one
ReviewersPeople to request a review from
LabelsLabels to add
DraftOpens the pull request as a draft
Push branch firstPushes your branch before the pull request is created

On success you see "Created pull request #N."

When you're reviewing an agent's changes, Open PR is a shortcut. It commits the agent's work, runs git push -u origin <branch> and gh pr create --fill, then opens the pull request's URL. It's enabled only after you've reviewed every change.

Review a pull request in the editor

Pull request review threads appear inline in the editor. You can reply, Resolve or Unresolve a thread, and use Add Review Comment to start a new one.

When you're done, choose Submit Review… (from the GitHub menu or ⌘K) and pick Comment, Approve or Request Changes. Discard Pending… discards your pending review.

Use your gh login for the GitHub MCP integration

The GitHub MCP server in Settings ▸ Integrations gives agents GitHub tools. Catalogue entries start off. To give it your GitHub login without creating a separate token, click Use this login for the GitHub integration. Sledbot copies the output of gh auth token into the GitHub integration, and does this only when you click that button.

MCP servers are passed to Claude Code, Codex, Gemini CLI, Qwen Code, OpenCode, Crush and Goose when they start. The native agent and the other CLI agents don't get them. See MCP integrations.

Other places GitHub shows up

  • Inline blame and Git Graph: Open on GitHub opens a commit on github.com. In inline blame it appears for local checkouts only.
  • Routines: the GitHub event trigger (Issue labelled, PR opened, PR updated, Review requested, CI failed) is checked with gh api on the routine's machine every few minutes, so no public URL is needed. That machine needs a working gh login. See Teammates, memory and routines.
  • Remote machines: the agent setup checklist includes GitHub CLI with Install… and Log in… (which runs gh auth login).
  • Command line: sled pr status|create|merge|comments also needs gh.

Limits

  • Local checkouts only. Pull requests, issues, CI and review features don't work for folders on remote machines.
  • GitHub only. There is no GitLab or Bitbucket support.
  • No gh, no GitHub features. There is no separate Sledbot sign-in.
  • Up to 200 repos in the Connect your repos sheet.
  • Drafts can't be merged from the panel.

Troubleshooting

What you seeCause and fix
"Pull requests, issues and CI use the GitHub CLI (gh), which isn't installed."Click Install GitHub CLI… and follow the install steps above.
"gh still isn't installed. When Homebrew finishes, check again."The Homebrew install hasn't finished, or it failed. Let it finish in the terminal, then check again. Without Homebrew, install from cli.github.com.
"Sign in to GitHub to see pull requests, issues and CI for this repository."gh isn't signed in. Click Connect GitHub….
"The login ended without connecting."The browser step wasn't completed. Click Try again, or use Open in a tab.
"Not a GitHub repository"The checkout's origin remote isn't on GitHub. Check it with the command below.
"Couldn't reach GitHub"A network problem, or GitHub is unavailable. Check your connection and retry.
"GitHub rate limit reached. Retrying …"GitHub is limiting requests. Sledbot retries on its own, so wait.
"Couldn't open a pull request: …"This needs gh. Install it or sign in again, then retry.
The GitHub panel isn't available for a spaceThe space is on a remote machine. These features need a local checkout.

To see where a project's remotes point, run this in the project folder:

bash
git remote -v

It lists each remote and its URL. It doesn't change anything.

To check your gh login in Terminal:

bash
gh auth status

It shows which GitHub account gh is signed in to. It doesn't change anything.

Every app.
One purchase.