GitHub integration. Read your code, trace issues to the commit, and open pull requests with fixes.
Polylane links each repository to the services it deploys, traces production issues to the commit that caused them, and opens pull requests with the fix.
Start freeWhat Polylane does with GitHub.
Your code in the graph
Repositories are indexed for agents to grep and linked to the resources they deploy, so an investigation moves from a failing service to the code behind it without leaving the thread.
Changes become suspects
Pushes, merges, and deployments land on the timeline. When production breaks minutes after a merge, the investigation starts from that merge.
Watches on repo events
A thread can wait on pushes, pull requests, releases, and workflow runs, and pick the investigation back up when they land.
Fixes land where code lives
Investigations that end at a line of code open a pull request on the repo behind the service, with the evidence trail attached. Your review and CI gate the merge.
How to set up GitHub
Paste this prompt into your coding agent. It installs the Polylane CLI if you need it, signs you in and connects GitHub.
Here's what Polylane does with GitHub: Polylane links each repository to the services it deploys, traces production issues to the commit that caused them, and opens pull requests with the fix. I want that, so connect GitHub to my Polylane workspace. If the Polylane CLI isn't installed or I'm not signed in, set that up first by following https://polylane.com/auth.md. Then connect GitHub with `polylane integration connect`: run `polylane integration connect --help` to find the GitHub option and its flags. If the CLI doesn't offer GitHub, open https://console.polylane.com and walk me through connecting it there. The setup steps and the access GitHub needs are at https://polylane.com/integrations/github/. Ask me for anything you need, like a token or an approval in the browser. When you're done, run `polylane integration list` and tell me whether GitHub is connected.
How it works.
Install
Install the Polylane GitHub App on your organisation and pick the repositories it can see.
Index
Repositories are indexed and matched to the services they deploy, and repo events start landing on the timeline.
Agents work with the code
Mid-investigation they grep it, cite it, and when the root cause is a line of code, open the pull request.
GitHub tools.
The calls Polylane can make to GitHub when it looks into an issue.
-
githubApiRead any GitHub REST endpoint that lacks a dedicated tool -
githubFetchFilesFetch file contents from a GitHub repository -
githubSearchGithubSearch across GitHub repositories, code, issues, pull requests, users, commits, and topics -
githubCommitsRead commits in a GitHub repository (list/getDiff) -
githubPullRequestsRead pull requests in a GitHub repository (list/get) -
githubClosePullRequestClose a pull request Polylane opened -
githubWorkflowRunsRead GitHub Actions workflow runs (list/get) -
githubCreateBranchCreate a new branch in a repository -
githubGetPullRequestDiffGet the diff for a pull request
GitHub setup and troubleshooting
Recent updates
- Blacksmith CI jobs, logs and runner metrics in investigations Connect Blacksmith so investigations can read the GitHub Actions jobs on your Blacksmith runners, and a CI slowdown or a new failure shows up as an issue.
- CircleCI pipelines, step logs and flaky tests in investigations Connect a CircleCI organization so investigations can read pipelines, failed step logs and test results, and Polylane watches workflow failures on your default branches.
- Depot: CI builds, runner jobs and logs in investigations Teams that build on Depot can now connect it, so Polylane investigations read container builds, GitHub Actions jobs and logs on Depot runners, and Depot CI runs.
- Set up Polylane: a first pull request when you connect GitHub Connect GitHub and Polylane opens one pull request that adds its instructions to the files your coding agents read, such as AGENTS.md and CLAUDE.md.
- Investigations call any endpoint of your providers' APIs Investigations can call any read endpoint of the provider APIs you have connected, for teams whose evidence sits somewhere Polylane has no dedicated tool for.
Common questions
How does Polylane work with GitHub?
Polylane links each repository to the services it deploys, traces production issues to the commit that caused them, and opens pull requests with the fix.