93b99cc9b4baf03089f3fbcbd9764c2dcb5a2aa9e28db03a37b6aaf576b2a556
- Go to https://dashboard.render.com
- Select your web service
- Go to Environment → Environment Variables
- Add:
- Key:
GITHUB_WEBHOOK_SECRET - Value:
93b99cc9b4baf03089f3fbcbd9764c2dcb5a2aa9e28db03a37b6aaf576b2a556
- Key:
Once deployment completes:
- In Render dashboard → Shell tab
- Run:
bundle exec rails db:migrate
- Go to: https://github.com/department-of-veterans-affairs/vets-api/settings/hooks/new
- Fill in:
- Payload URL:
https://ai-dashboards.onrender.com/api/v1/github_webhooks - Content type:
application/json - Secret:
93b99cc9b4baf03089f3fbcbd9764c2dcb5a2aa9e28db03a37b6aaf576b2a556 - Which events?: Select "Let me select individual events"
- ✓ Check runs
- ✓ Check suites
- ✓ Pull requests
- ✓ Pull request reviews
- ✓ Pull request review comments
- ✓ Statuses
- Active: ✓ (checked)
- Payload URL:
- Click "Add webhook"
In Render Shell:
bundle exec rails runner "FetchAllPullRequestsJob.perform_now"Run locally:
export ADMIN_TOKEN=your_admin_token
export API_URL=https://ai-dashboards.onrender.com
ruby verify_webhook_setup.rbAfter setup, test by:
- Edit any PR title in the repo
- Check webhook deliveries in GitHub (should show green ✓)
- Check your dashboard - PR should update immediately!