API referenceConsole
git
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.

Connect

Connect GitHub from the terminal. Pass --help for the flags GitHub accepts.

Terminal
polylane integration connect --type github

Disconnect

Disconnecting stops every sync and check and deletes the credentials Polylane held. Polylane removes what GitHub's API lets it remove. The following stays until you remove it yourself:

  • polylane/onboarding/* branch and Set up Polylane PR
  • autofix branches and PRs
  • check runs on past commits

GitHub is connected through an app installation, so disconnecting happens on GitHub's side: uninstall the Polylane app from your installed GitHub Apps. Polylane is notified and removes the integration.

Tools

9

Operations agents can perform in threads.

Api
Read any GitHub REST endpoint that lacks a dedicated tool
Fetch Files
Fetch file contents from a GitHub repository
Search Github
Search across GitHub repositories, code, issues, pull requests, users, commits, and topics
Commits
Read commits in a GitHub repository (list/getDiff)
Pull Requests
Read pull requests in a GitHub repository (list/get)
Close Pull Request
Close a pull request Polylane opened
Workflow Runs
Read GitHub Actions workflow runs (list/get)
Create Branch
Create a new branch in a repository
Get Pull Request Diff
Get the diff for a pull request