🔐 safepush — webhook setup

Set up a GitHub webhook to scan every push automatically.

1. Go to your repo settings

https://github.com/YOU/REPO/settings/hooks

2. Add webhook

Payload URL:

https://app.safepush.serghini.me/webhook

Content type: application/json

Secret: 161fc3fa68ae91c3d2e4f536272e12c5bb9866c8138a4afaa4322ebab9f26089

Events: Just the push event

3. Test it

curl -X POST https://app.safepush.serghini.me/webhook \
  -H 'x-github-event: ping' \
  -H 'content-type: application/json' \
  -d '{"zen":"test"}'

You should get {"message":"pong"}

4. Scan all repos in one go

Already have a token? Scan all your repos:

curl -X POST https://app.safepush.serghini.me/scan-installations \
  -H 'authorization: Bearer YOUR_GITHUB_TOKEN'