.env.example
Set these on your host before deploying. Each platform has an “Environment Variables” section in the deploy flow.
GITHUB_APP_ID
GitHub App Configuration Get these values from your GitHub App settings page
GITHUB_PRIVATE_KEY
secret
GITHUB_WEBHOOK_SECRET
secret
OPENAI_API_KEY
secret
OpenAI API Configuration Get your API key from https://platform.openai.com/api-keys
WEBHOOK_PROXY_URL
Optional: Webhook Proxy (for local development) Use smee.io or ngrok for testing webhooks locally
NODE_ENV
Optional: Node Environment
PORT
Optional: Port (defaults to 3000)
brew install flyctl && fly launch --from https://github.com/axe312ger/mastra-pr-reviewer
curl -L https://fly.io/install.sh | sh && fly launch --from https://github.com/axe312ger/mastra-pr-reviewer
iwr https://fly.io/install.ps1 -useb | iex; fly launch --from https://github.com/axe312ger/mastra-pr-reviewer