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.
How it works
Drop two lines of YAML into your workflow. AutoPR handles the rest — automatically, on every pull request.
Step 01
A developer opens a pull request or pushes a new commit. The AutoPR Action triggers automatically via the pull_request event.
Step 02
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
The PR body is updated with a clear, structured description: summary, what changed, testing notes, and any breaking changes flagged.
See the difference
Reviewers shouldn't have to guess what changed.
Reviewers open the diff cold. No context. No idea what to focus on.
## 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
refreshToken() into a standalone utility for easier testingAuthContext## Testing notes
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.
Features
No configuration required. Works with any branching strategy, any team size, any repo.
Install
Add the following workflow file to your repo. AutoPR will start writing PR descriptions immediately.
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.
Pricing
Public repos are always free. Private repo support requires a license key.
Free
$0
For open source and public repos
Indie
$9/mo
For solo devs with private repos
Teams
$29/mo
For teams with unlimited private repos
Also from patchwork-eng
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 →