Part 1: Issue & PR Indexing via Webhooks
Set up a webhook so every issue and PR is indexed as it opens, edits, or closes.
Get your webhook URL
Your Pyckle webhook URL uses your API key as the path segment:
Add the webhook in GitHub
Go to your repo → Settings → Webhooks → Add webhook:
- • Payload URL: your webhook URL from step 1
- • Content type: application/json
- • Secret: generate a random string and save it (you'll need it below)
- • Events: select "Issues" and "Pull requests"
Set GITHUB_WEBHOOK_SECRET on Fly
Verify it works
Open or edit an issue in your repo. Then search for it:
Part 2: Automated PR Review via GitHub Actions
Add one workflow file and every PR gets a context-aware Pyckle review comment automatically.
Add the workflow file
Create .github/workflows/pyckle-review.yml in your repo:
Add PYCKLE_MCP_URL secret
Go to repo Settings → Secrets → Actions → New repository secret:
- • Name: PYCKLE_MCP_URL
- • Value: https://pyckle.co (or your self-hosted URL)
Open a PR and watch it work
Within 60 seconds of opening a PR, Pyckle posts a review comment with severity scoring (🔴 HIGH / 🟡 MEDIUM / 🟢 LOW) and a list of findings. The workflow never blocks your pipeline — errors exit 0.
Troubleshooting
Webhook shows 401 Unauthorized
Your API key in the webhook URL doesn't match a valid Pro key. Check your key at dashboard.
Webhook shows 403 Invalid signature
The GITHUB_WEBHOOK_SECRET on Fly doesn't match the secret you set in GitHub. Re-run fly secrets set with the correct value.
PR review comment doesn't appear
Check the Actions tab in your repo for workflow logs. Ensure PYCKLE_MCP_URL secret is set and the workflow has pull-requests: write permission.