Skip to content

GitHub integration

Rimfe runs as a GitHub App on the repositories you choose. On each pull request it posts a check named Rimfe and, when docs need changes, one comment with quoted evidence and a suggested patch. It writes to your repository only to commit a docs fix someone asked for, and it never edits code or merges by itself.

Updated

What happens on a pull request

  • You install the app from the Repositories page in the dashboard and pick repositories. For an organization, an organization owner installs it.
  • A review starts when a pull request opens, reopens, gets new commits or is marked ready for review. If you push again while a review is still queued, only the newest commit is reviewed. Drafts wait until they are ready.
  • The Rimfe check appears on the head commit: queued, then in progress, then a result. A pass reads No docs drift: docs are up to date.
  • When docs need changes, Rimfe posts one comment. Each finding quotes the changed code and the docs sentence it contradicts, with a suggested patch for up to 24 files.
  • When the pull request also edits a page with a finding, Rimfe adds an inline comment on that docs line. Reply in the thread to accept or dismiss it.
  • Later pushes update the same comment. Once the docs are fixed, it shows a passing result.
Rimfe comment on a pull request listing docs that are now wrong, with fixes

Check modes

The check never blocks a merge unless you choose a blocking mode and add Rimfe as a required status check in branch protection or a ruleset.

ModeWhat the check does
Non-blocking (default)Drift and incomplete reviews finish as neutral, so they never turn the check red.
Blocking when docs requiredDrift and incomplete reviews report action required. Every push is reviewed, and only admins and maintainers can pause or dismiss.
Strict blockingLike blocking, and a review that could not run, for example at a plan limit or with an AI key that needs attention, fails the check too.
OffNo check. Comments and the dashboard still work.

Comment commands

People with Write, Maintain or Admin on the repository control Rimfe from the pull request. Bots are ignored, and anyone with Triage or Read gets a reply saying the command needs write access. Ticking a box at the end of a drift comment runs the same command.

CommandWhat it does
@rimfe reviewReviews the latest commit, even on a draft.
@rimfe explainRepeats the latest result, or explains one finding in its thread.
@rimfe accept, @rimfe dismiss <reason>Records a decision, the same one the dashboard and Slack record.
@rimfe open docs PROpens a pull request with the suggested fix.
@rimfe apply patchCommits the fix to the pull request's own branch.
@rimfe pause, @rimfe resumeStops or restarts automatic reviews on this pull request.
@rimfe ignore path <glob>Leaves matching changed files out of later reviews of this pull request.
@rimfe configShows the settings Rimfe would use, without starting a review.

Permissions and why each is needed

Rimfe asks for six repository permissions and one organization permission. Everything else is set to No access. GitHub grants an app one set of permissions, so contents write comes with every install even though Rimfe uses it only for fixes you ask for.

PermissionAccessUsed for
MetadataReadListing the repositories the app is installed on. GitHub grants it to every app.
ContentsRead and writeReading the code and docs under review. Writing only to commit a docs fix someone asked for.
Pull requestsRead and writeReading changed files, labels and draft state. Opening docs pull requests and asking page owners to review them.
IssuesRead and writePosting and updating the result comment and replying to commands, which GitHub treats as issue comments.
ChecksRead and writeCreating and updating the Rimfe check.
DeploymentsReadReleasing docs changes that wait for a deployment.
Members (organization)ReadConfirming that the person connecting an organization installation belongs to it.

Docs pull requests

  • Off by default. Turn on Docs PRs in the repository's settings and approve the write permissions on GitHub.
  • With docs in the same repository, the docs pull request targets the branch of your pull request. With docs in a separate repository, it targets that repository's default branch.
  • Before publishing, Rimfe checks that the pull request has not moved since the review and that the fix still applies.
  • A patch that adds a domain, command, package or security setting your code and docs do not already contain is held until an admin or maintainer runs @rimfe approve patch.
  • Rimfe creates its commits through the GitHub API as the app, so GitHub shows them as Verified.

Plans

Pull request reviews, @rimfe commands, docs pull requests and blocking mode are on every plan. Every plan covers unlimited public repositories. Hobby covers 1 private repository, Startup 10, and Business and Enterprise unlimited. Reviewing against docs in a separate private repository needs Startup or above.

Limits

  • GitHub only. GitLab and Bitbucket are not supported.
  • Rimfe never writes to a fork's branch and never opens a docs pull request from a fork's content.
  • Each review reads the commit through the GitHub API and deletes its copy when the review ends.
  • A pull request with more than 300 code files, 30,000 changed lines in code files or 3,000 changed files is skipped before anything is downloaded. The check reads Too large to review.
  • A repository starts up to 120 automatic reviews an hour by default. @rimfe review still runs past that.

Try it on your next pull request.

Free for public repositories, with unlimited members.

Start free with GitHub