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
1.[Configure a new app on GitHub](https://github.com/settings/apps/new).
197
+
* For the Homepage URL, use your repository URL: `https://github.com/your-username/your-repo`
198
+
* For the Webhook URL, use: `https://your-vercel-domain.vercel.app/api/github/webhooks`
199
+
* Generate a Webhook Secret with `openssl rand -base64 32` and save it
200
+
* On the **Permissions & webhooks** tab, add read/write permissions for pull requests
201
+
* On the **Permissions & webhooks** tab, subscribe to **Pull request** events
202
+
* Save your changes and download the private key
203
+
204
+
2. Deploy to Vercel:
205
+
* Connect your GitHub repository to Vercel
206
+
* Set the following environment variables in Vercel dashboard:
207
+
```
208
+
APP_ID=your_github_app_id
209
+
WEBHOOK_SECRET=your_webhook_secret
210
+
PRIVATE_KEY=your_private_key_content
211
+
```
212
+
* Deploy the app
213
+
214
+
3. Install the GitHub App:
215
+
* Go to your GitHub App settings
216
+
* Click the **Install** tab
217
+
* Install the app to your repositories
218
+
219
+
The serverless function will automatically handle GitHub webhook events at `/api/github/webhooks`.
220
+
221
+
### Node.js App
222
+
223
+
#### Glitch
189
224
190
225
[](https://glitch.com/edit/#!/import/github/kentaro-m/auto-assign)
0 commit comments