Skip to content

Connect GitHub

For sites whose pages live in a repository, RankGrep opens pull requests instead of writing to a database.

Updated 17 Sept 20261 min read

On this page
  1. How it works
  2. What RankGrep can see and do
  3. Undo
  4. Why there is no deploy problem here

If your website is built from a repository, RankGrep can still fix it. Instead of writing to a database, every approved fix becomes a pull request.

How it works

  1. Click Connect GitHub on the Connections page. GitHub asks which repositories to grant RankGrep access to. Choose only the one for this website.
  2. Once a fix is approved, RankGrep creates a branch named rankgrep/<id>, commits the single change, and opens a pull request with the before and after in its description.
  3. You review and merge. RankGrep never merges. Nothing is live until a person clicks the button.

What RankGrep can see and do

The GitHub App asks for three permissions and nothing else:

PermissionWhy
Contents: read and writeCreate the branch and commit the change
Pull requests: read and writeOpen the pull request
Metadata: readRequired by GitHub for every app

RankGrep stores no long-lived token. It holds only the installation id, and GitHub issues it a one-hour token each time it needs to act. Removing the installation under GitHub → Settings → Applications ends access instantly.

Undo

While the pull request is open, Undo in Change history closes it and deletes the branch. Once it is merged, undo it the way you would any commit: with a revert pull request.

Why there is no deploy problem here

The repository is the source of truth. A fix that lands as a merged pull request is in every future build, so local changes and RankGrep's changes never diverge. The deploy precautions in this documentation are for WordPress sites.