-
Notifications
You must be signed in to change notification settings - Fork 0
Configuration
David M. edited this page Jun 15, 2026
·
1 revision
PRPilot can be configured using environment variables, a .env file, or a YAML configuration file.
By default, PRPilot looks for a file named ~/.prpilot.yaml in your home directory. You can also specify a custom path using the --config flag.
Example ~/.prpilot.yaml:
token: "your-github-token-here"
base: "main"You can set configuration options via environment variables:
-
GITHUB_TOKEN: Your GitHub Personal Access Token. -
PRPILOT_BASE: Default base branch (e.g.,main).
You can create a .env file in your project root:
GITHUB_TOKEN=your-github-token-here
PRPILOT_BASE=main| Key | Description | Default |
|---|---|---|
token |
GitHub Personal Access Token | Required |
base |
Default base branch for PRs | main |