Your PR descriptions,
written. Every time.

AutoPR writes your pull request description the moment you open it — so reviewers know what to look at before they read a line of code.

Add to your repo →

You bring your own OpenAI key. We never see your diff.

Three steps. Zero effort.

Drop two lines of YAML into your workflow. AutoPR handles the rest — automatically, on every pull request.

Step 01

PR opened

A developer opens a pull request or pushes a new commit. The AutoPR Action triggers automatically via the pull_request event.

Step 02

Diff sent to OpenAI

AutoPR reads the diff from the GitHub API and sends it to OpenAI using your API key. Your code never passes through our servers.

Step 03

Description written

The PR body is updated with a clear, structured description: summary, what changed, testing notes, and any breaking changes flagged.

The difference a description makes

Reviewers shouldn't have to guess what changed.

Before AutoPR
fix auth bug opened 2 minutes ago
(No description provided)

Reviewers open the diff cold. No context. No idea what to focus on.

After AutoPR ✓
fix auth bug opened 2 minutes ago

## Summary

Refactored the authentication flow to fix a session persistence bug affecting users who logged in across multiple devices. Improves error handling during token refresh failures.

## Changes

  • Bug fixes:
    • Fixed session token not persisting after login on Safari and Firefox
    • Resolved race condition in token refresh that caused silent logouts
  • Refactors:
    • Extracted refreshToken() into a standalone utility for easier testing
    • Simplified error propagation in AuthContext

## Testing notes

  • Verify login persists after browser restart on Chrome, Safari, Firefox
  • Test token refresh with an expired token (set expiry to 1s in test env)
  • Check that AuthContext.test.js covers the new refreshToken() path

## Affected areas

src/auth/, src/context/AuthContext.jsx, src/utils/token.js

Reviewers know exactly what changed, why it matters, and what to test.

Built for real workflows.

No configuration required. Works with any branching strategy, any team size, any repo.

Two lines of YAML.

Add the following workflow file to your repo. AutoPR will start writing PR descriptions immediately.

.github/workflows/autopr.yml
name: AutoPR
on:
  pull_request:
    types: [opened, synchronize]

permissions:
  pull-requests: write

jobs:
  autopr:
    runs-on: ubuntu-latest
    steps:
      - uses: patchwork-eng/autopr@v1
        with:
          openai_key: ${{ secrets.OPENAI_KEY }}
          # license_key: ${{ secrets.AUTOPR_LICENSE_KEY }}  # Required for private repos

Add your OpenAI API key to Settings → Secrets and variables → Actions as OPENAI_KEY. That's it.

Start free. Upgrade when you need private repos.

Public repos are always free. Private repo support requires a license key.

Free

$0

For open source and public repos

  • Unlimited public repos
  • Full AI-generated descriptions
  • Bring your own OpenAI key
  • No account needed
Install now →

Teams

$29/mo

For teams with unlimited private repos

  • Unlimited private repos
  • License key via email
  • Bring your own OpenAI key
  • Cancel anytime
Get Teams →

Also from patchwork-eng

Difflog

AutoPR is for the PR description your teammates read at review time.
Difflog is for the changelog your users read at release time.

Difflog reads your git commits when you ship and writes a human-readable changelog automatically. Same BYOK model. Free for public repos.

Check out Difflog →