You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,8 @@ A GitHub App for automated code reviews using Hono.js and Amp.
11
11
-**Check Runs**: Integration with GitHub's check runs API for status reporting
12
12
-**MCP Server**: Model Context Protocol server for AI agent integration
13
13
14
+
**Requirements**: Amp account with API key required for code reviews.
15
+
14
16
## Quick Start
15
17
16
18
### Local Development
@@ -75,6 +77,7 @@ A GitHub App for automated code reviews using Hono.js and Amp.
75
77
- Repository: Checks (Write)
76
78
- Repository: Contents (Read)
77
79
- Repository: Metadata (Read)
80
+
- Repository: Webhooks (Write)
78
81
3.**Configure webhook settings:**
79
82
- Webhook URL: `https://your-domain.com/github/webhook` (use your APP_BASE_URL)
80
83
- Subscribe to: Pull request events and Installation events
@@ -94,14 +97,16 @@ The GitHub App requires a private key for authentication. You have two options:
94
97
3. Set `GITHUB_APP_PRIVATE_KEY_PATH=./private-key.pem`
95
98
4. Add `*.pem` to your `.gitignore` to avoid committing the key
96
99
97
-
#### Option 2: Environment Variable (Recommended for production)
100
+
#### Option 2: Environment Variable (Recommended for production/Docker)
98
101
1. Convert your private key to base64:
99
102
```bash
100
103
cat private-key.pem | base64 -w 0
101
104
```
102
105
2. Set the result as `GITHUB_APP_PRIVATE_KEY` in your environment
103
106
3. The application will automatically decode and format the key
104
107
108
+
**Note**: Docker setup requires the base64 encoded key in `.env` - private key files are not accessible in containers.
109
+
105
110
### Configuration File (config.yml)
106
111
107
112
Contains GitHub settings, queue configuration, server settings, Amp integration, and the AI review prompt. Environment variables are interpolated using `${VARIABLE_NAME}` syntax.
0 commit comments